commit | af2f44267fdc006e47166187632f63d396822bed | [log] [tgz] |
---|---|---|
author | Kever Yang <kever.yang@rock-chips.com> | Sat Jan 20 18:00:26 2018 +0800 |
committer | Tom Rini <trini@konsulko.com> | Sun Jan 28 12:27:29 2018 -0500 |
tree | b122c4e20376c6eae6bfd40d72fcf98dd845b1f6 | |
parent | 2021f083ed634f8233054a6299d95666a933434e [diff] [blame] |
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>
diff --git a/common/spl/spl.c b/common/spl/spl.c index 76c1963..1566acd 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c
@@ -407,7 +407,7 @@ timer_init(); #endif -#ifdef CONFIG_SPL_BOARD_INIT +#if CONFIG_IS_ENABLED(BOARD_INIT) spl_board_init(); #endif