khadas-edge2: remove legacy uboot (#9367)

Agreed during maintainer meeting
This commit is contained in:
M. Efe Çetin 2026-02-07 16:11:32 +01:00 committed by GitHub
parent 3dc8e865e2
commit 114bbfc832
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"