]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
apalis/colibri_imx6: move setting bootcmd to defconfig
authorOleksandr Suvorov <oleksandr.suvorov@foundries.io>
Mon, 7 Feb 2022 12:19:18 +0000 (14:19 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 7 Feb 2022 15:33:23 +0000 (16:33 +0100)
Move setting the default boot command to the
apalis/colibri_imx6_defconfig. It allows replacing the command
without code modification.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
configs/apalis_imx6_defconfig
configs/colibri_imx6_defconfig
include/configs/apalis_imx6.h
include/configs/colibri_imx6.h

index 8730db2f2c305f007870471518d578147d5ca61b..bd71e4c32aaed5330da1a76ed63962c847b3cf00 100644 (file)
@@ -27,6 +27,7 @@ CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_BOOTDELAY=1
+CONFIG_BOOTCOMMAND="run distro_bootcmd; usb start; setenv stdout serial,vidconsole; setenv stdin serial,usbkbd"
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
index 7fe2000fff0bf7ad08fe57945b00a2d7efa7074b..43c3b04e312d092e303328a7650a31dbef1c6a12 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_CMD_HDMIDETECT=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_BOOTDELAY=1
+CONFIG_BOOTCOMMAND="run distro_bootcmd; usb start; setenv stdout serial,vidconsole; setenv stdin serial,usbkbd"
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
index c165f618be921868a4b496604dbd9295ed11dd29..bbdcab29d8f2c5549387b8ecbf384899e239c738 100644 (file)
 #endif
 #define CONFIG_EXTRA_ENV_SETTINGS \
        BOOTENV \
-       "bootcmd=run distro_bootcmd ; " \
-               "usb start ; " \
-               "setenv stdout serial,vidconsole; " \
-               "setenv stdin serial,usbkbd\0" \
        "boot_file=zImage\0" \
        "console=ttymxc0\0" \
        "defargs=enable_wait_mode=off vmalloc=400M\0" \
index c8e733bc3663a9e059c8472bd3ff82e5251e30c7..1dbc77dde1c05ba04632473a8fc115676e842a31 100644 (file)
 #define FDT_FILE "imx6dl-colibri-eval-v3.dtb"
 #define CONFIG_EXTRA_ENV_SETTINGS \
        BOOTENV \
-       "bootcmd=run distro_bootcmd; " \
-               "usb start ; " \
-               "setenv stdout serial,vidconsole; " \
-               "setenv stdin serial,usbkbd\0" \
        "boot_file=zImage\0" \
        "console=ttymxc0\0" \
        "defargs=enable_wait_mode=off galcore.contiguousSize=50331648\0" \