diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-01-08 19:23:35 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-14 11:37:39 -0500 |
commit | 9f9d8704b6566c24b6efaa23abc42cfbc5aadb36 (patch) | |
tree | 8bc20fd152f95733ad6a73f59ba4b790f75684f9 /include | |
parent | 38117231326cf65a70fc15b746d1241e2298b1ab (diff) |
spl: spl_nor: surround Linux-load code with #ifdef CONFIG_SPL_OS_BOOT
If CONFIG_SPL_NOR_SUPPORT is defined, spl_nor_load_image() requires
spl_start_uboot(), CONFIG_SYS_OS_BASE, CONFIG_SYS_SPL_ARGS_ADDR,
CONFIG_SYS_FDT_BASE to be defined even if users just want to run
U-Boot, not Linux. This is inconvenient.
This patch is following the codying style of common/spl/spl_nand.c.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions