Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP
Since CONFIG_OF_BOARD_SETUP depends on CONFIG_OF_LIBFDT:
config OF_BOARD_SETUP
bool "Set up board-specific details in device tree before boot"
depends on OF_LIBFDT
...
remove superfluous tests of CONFIG_OF_LIBFDT when testing for
CONFIG_OF_BOARD_SETUP.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
[trini: Typo fix: s/ifdefi/ifdef/]
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
committed by
Tom Rini
parent
87861c1970
commit
7ffe3cd62e
@@ -131,7 +131,7 @@ u32 spl_boot_device(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
|
||||
#ifdef CONFIG_OF_BOARD_SETUP
|
||||
int ft_board_setup(void *blob, bd_t *bd)
|
||||
{
|
||||
int lpae;
|
||||
@@ -273,4 +273,4 @@ void ft_board_setup_ex(void *blob, bd_t *bd)
|
||||
|
||||
ddr3_check_ecc_int(KS2_DDR3A_EMIF_CTRL_BASE);
|
||||
}
|
||||
#endif
|
||||
#endif /* CONFIG_OF_BOARD_SETUP */
|
||||
|
||||
Reference in New Issue
Block a user