summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Guo <[email protected]>2025-12-09 10:19:17 +0800
committerFabio Estevam <[email protected]>2025-12-29 10:17:00 -0300
commitd4863fcca8d78600192823f6ce64e0c25a75998f (patch)
tree54b18dccc27a646df6a21c1556496f4cf2cee88b
parentff1932daab1e6381e0b26d69a0197dfb2cd7168f (diff)
imx8ulp_evk: Convert to standard boot
Replace CONFIG_DISTRO_DEFAULTS with CONFIG_BOOTSTD_FULL to enable the standard boot framework and use standard boot on i.MX8ULP. Update CONFIG_BOOTCOMMAND to run bootflow scan before falling back to board-specific bootcmd, and remove legacy distro boot environment from imx8ulp_evk.h since bootstd now handles boot targets. Signed-off-by: Alice Guo <[email protected]>
-rw-r--r--configs/imx8ulp_evk_defconfig4
-rw-r--r--include/configs/imx8ulp_evk.h10
2 files changed, 2 insertions, 12 deletions
diff --git a/configs/imx8ulp_evk_defconfig b/configs/imx8ulp_evk_defconfig
index e750b3d9ae0..8617cf32f2b 100644
--- a/configs/imx8ulp_evk_defconfig
+++ b/configs/imx8ulp_evk_defconfig
@@ -26,9 +26,9 @@ CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x88000000
CONFIG_REMAKE_ELF=y
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
-CONFIG_DISTRO_DEFAULTS=y
+CONFIG_BOOTSTD_FULL=y
CONFIG_BOOTDELAY=0
-CONFIG_BOOTCOMMAND="run distro_bootcmd;run bsp_bootcmd"
+CONFIG_BOOTCOMMAND="bootflow scan -l; run bsp_bootcmd"
CONFIG_DEFAULT_FDT_FILE="imx8ulp-evk"
CONFIG_SYS_CBSIZE=2048
CONFIG_SYS_PBSIZE=2068
diff --git a/include/configs/imx8ulp_evk.h b/include/configs/imx8ulp_evk.h
index 9308f5234f4..eb006c5d4a5 100644
--- a/include/configs/imx8ulp_evk.h
+++ b/include/configs/imx8ulp_evk.h
@@ -21,18 +21,8 @@
#define CFG_FEC_MXC_PHYADDR 1
#endif
-#ifdef CONFIG_DISTRO_DEFAULTS
-#define BOOT_TARGET_DEVICES(func) \
- func(MMC, mmc, 0)
-
-#include <config_distro_bootcmd.h>
-#else
-#define BOOTENV
-#endif
-
/* Initial environment variables */
#define CFG_EXTRA_ENV_SETTINGS \
- BOOTENV \
"scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
"kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
"image=Image\0" \