diff options
author | Vagrant Cascadian <vagrant@debian.org> | 2018-07-25 11:18:34 +0800 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2018-07-27 11:19:55 +0900 |
commit | ef41aea96ee4dbe1565077aafa95d8f21e7694c6 (patch) | |
tree | 65ad2aede7015323e6bcdf9cd06c2abcc5b00569 | |
parent | 22297aaa4f26073829b8c8e14a8a489498b7a04f (diff) | |
download | u-boot-ef41aea96ee4dbe1565077aafa95d8f21e7694c6.zip u-boot-ef41aea96ee4dbe1565077aafa95d8f21e7694c6.tar.gz u-boot-ef41aea96ee4dbe1565077aafa95d8f21e7694c6.tar.bz2 |
arm: odroid: Enable distro_bootcmd support.
Enable distro_bootcmd for a standardized boot process across multiple
platforms.
Acked-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r-- | include/configs/odroid.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/odroid.h b/include/configs/odroid.h index 07882ac..a4d1a76 100644 --- a/include/configs/odroid.h +++ b/include/configs/odroid.h @@ -41,7 +41,7 @@ /* Console configuration */ -#define CONFIG_BOOTCOMMAND "run autoboot" +#define CONFIG_BOOTCOMMAND "run distro_bootcmd ; run autoboot" #define CONFIG_DEFAULT_CONSOLE "ttySAC1,115200n8" #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR \ @@ -83,6 +83,12 @@ "bl2 raw 0x1f 0x1d;" \ "tzsw raw 0x83f 0x138\0" +#define BOOT_TARGET_DEVICES(func) \ + func(MMC, mmc, 1) \ + func(MMC, mmc, 0) + +#include <config_distro_bootcmd.h> + /* * Bootable media layout: * dev: SD eMMC(part boot) @@ -167,7 +173,8 @@ "ramdisk_addr_r=0x42000000\0" \ "scriptaddr=0x42000000\0" \ "fdt_addr_r=0x40800000\0" \ - "kernel_addr_r=0x41000000\0" + "kernel_addr_r=0x41000000\0" \ + BOOTENV /* GPT */ |