diff options
author | Dongjin Kim <tobetter@gmail.com> | 2019-05-31 23:45:25 +0900 |
---|---|---|
committer | Dongjin Kim <tobetter@hardkernel.com> | 2019-06-24 22:38:13 +0900 |
commit | c157d5685b0faf44a349993c3b92f8597c8dadd6 (patch) | |
tree | 4ef926d9a663f274decace7f4fb5fc2365e94171 /board | |
parent | ce0a42b84fb255818ec281ba8199da842d80d4a5 (diff) | |
download | u-boot-odroid-c1-c157d5685b0faf44a349993c3b92f8597c8dadd6.tar.gz |
ODROID-C3/N2: refactoring the boot devices, scripts and order
This patch is to refactor the boot method defining the boot command per
device type, mmc/usb/spi/misc, and boot scripts, boot.ini/boot.scr. Also,
they can be customized its order by device types and device number.
Boot order per devices can be defined by 'boot_order';
boot_order="mmc rawimage usb pxe spi"
In case multiple devices can be existed, they can be order by the device
numbers. For example;
mmc_list="0 1"
usb_list="0 1 2 3"
Change-Id: I3a0fad4915a4beb2039d1a1f087e99c91e3e5a31
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/hardkernel/odroidn2/odroidn2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hardkernel/odroidn2/odroidn2.c b/board/hardkernel/odroidn2/odroidn2.c index 30b7b69386..6e24402c7b 100644 --- a/board/hardkernel/odroidn2/odroidn2.c +++ b/board/hardkernel/odroidn2/odroidn2.c @@ -394,7 +394,7 @@ int board_late_init(void) if (get_boot_device() == BOOT_DEVICE_SPI) { setenv("bootdelay", "0"); - setenv("bootcmd", "run booting_from_spi"); + setenv("bootcmd", "run boot_spi"); } usbhost_early_poweron(); |