]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: Add a gd flag for chain loading
authorSimon Glass <sjg@chromium.org>
Sun, 26 Apr 2020 15:12:57 +0000 (09:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 30 Apr 2020 09:40:16 +0000 (17:40 +0800)
commitba974a0137edc86cff9727a83cf6be154ab18ef0
tree10ee2839c6cbb0ebd1d3f8ee06ff906b5cab7947
parentf1f4438218d4d042fd36431dd5ff382c0a9f7a2c
board: Add a gd flag for chain loading

When U-Boot is run from another boot loader, much of the low-level init
needs to be skipped.

Add a flag for this and adjust ll_boot_init() to use it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/asm-generic/global_data.h
include/init.h