diff --git a/config/boards/orangepir2s.wip b/config/boards/orangepir2s.wip index 0386a40386..0767aa5064 100644 --- a/config/boards/orangepir2s.wip +++ b/config/boards/orangepir2s.wip @@ -10,6 +10,11 @@ SRC_EXTLINUX="yes" SRC_CMDLINE="earlycon=sbi console=tty1 console=ttyS0,115200 loglevel=1" PACKAGE_LIST_BOARD="" +function post_config_uboot_target__extra_configs_for_orangepi() { + display_alert "$BOARD" "disable MMC UHS support to speed up MMC under Linux" "info" + run_host_command_logged scripts/config --disable CONFIG_MMC_UHS_SUPPORT +} + write_uboot_platform_mtd() { if [ -b /dev/mtdblock0 ]; then dd if="${1}/bootinfo_spinor.bin" of=/dev/mtdblock0 bs=65536 status=none; diff --git a/config/boards/orangepirv2.wip b/config/boards/orangepirv2.wip index 0af75740c0..fb36a89955 100644 --- a/config/boards/orangepirv2.wip +++ b/config/boards/orangepirv2.wip @@ -16,6 +16,11 @@ case "${BRANCH}" in edge) enable_extension "bcmdhd-spacemit" ;;esac +function post_config_uboot_target__extra_configs_for_orangepi() { + display_alert "$BOARD" "disable MMC UHS support to speed up MMC under Linux" "info" + run_host_command_logged scripts/config --disable CONFIG_MMC_UHS_SUPPORT +} + write_uboot_platform_mtd() { if [ -b /dev/mtdblock0 ]; then dd if="${1}/bootinfo_spinor.bin" of=/dev/mtdblock0 bs=65536 status=none;