diff options
author | Kever Yang | 2018-01-20 18:00:26 +0800 |
---|---|---|
committer | Tom Rini | 2018-01-28 12:27:29 -0500 |
commit | af2f44267fdc006e47166187632f63d396822bed (patch) | |
tree | b122c4e20376c6eae6bfd40d72fcf98dd845b1f6 /common/spl/spl.c | |
parent | 2021f083ed634f8233054a6299d95666a933434e (diff) |
spl: use different BOARD_INIT MACRO for spl and tpl
SPL and TPL may not always need spl_board_init() at the same time.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'common/spl/spl.c')
-rw-r--r-- | common/spl/spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index 76c1963611c..1566acdbc30 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -407,7 +407,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2) timer_init(); #endif -#ifdef CONFIG_SPL_BOARD_INIT +#if CONFIG_IS_ENABLED(BOARD_INIT) spl_board_init(); #endif |