Skip to content
Commit 9f9d8704 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
parent 38117231
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment