diff --git a/config/boards/khadas-edge2.conf b/config/boards/khadas-edge2.conf index e7d06b107b..f6f63cc267 100644 --- a/config/boards/khadas-edge2.conf +++ b/config/boards/khadas-edge2.conf @@ -28,27 +28,8 @@ function post_family_tweaks__kedge2_naming_audios() { return 0 } -# for the kedge2, we're counting on the blobs+u-boot in SPI working, as it comes from factory. It does not support bootscripts. -function post_family_config__uboot_kedge2() { - if [[ $BRANCH == "edge" || $BRANCH == "current" ]]; then - return - fi - - display_alert "$BOARD" "Configuring ($BOARD) u-boot" "info" - - declare -g BOOTSOURCE='https://github.com/khadas/u-boot.git' - declare -g BOOTBRANCH="commit:df276095a29a02f8e7ce4f451770c06486106594" - declare -g BOOTPATCHDIR="legacy/u-boot-khadas-edge2-rk3588" - declare -g BOOTCONFIG="khadas-edge2-rk3588s_defconfig" - declare -g SRC_EXTLINUX="yes" # For now, use extlinux. Thanks Monka -} - -# Mainline U-Boot for current kernel +# Mainline U-Boot function post_family_config__kedge2_use_mainline_uboot() { - if [[ $BRANCH == "vendor" ]]; then - return - fi - display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info" declare -g BOOTCONFIG="khadas-edge2-rk3588s_defconfig"