From 114bbfc83207f70cb8755508d8cf185d14c0b48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Efe=20=C3=87etin?= Date: Sat, 7 Feb 2026 16:11:32 +0100 Subject: [PATCH] khadas-edge2: remove legacy uboot (#9367) Agreed during maintainer meeting --- config/boards/khadas-edge2.conf | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) 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"