mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 14:11:29 +01:00
solidrun: mx6cuboxi: use CONFIG_IS_ENABLED(SATA) instead of ifdef CONFIG_SATA
Prepare for linking setup_sata only when CONFIG_SATA/CONFIG_SPL_SATA is defined. Signed-off-by: Troy Kisky <troykiskyboundary@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
e7b03ee0fc
commit
ff286fbc51
@ -275,9 +275,8 @@ int board_early_init_f(void)
|
|||||||
{
|
{
|
||||||
setup_iomux_uart();
|
setup_iomux_uart();
|
||||||
|
|
||||||
#ifdef CONFIG_SATA
|
if (CONFIG_IS_ENABLED(SATA))
|
||||||
setup_sata();
|
setup_sata();
|
||||||
#endif
|
|
||||||
setup_fec();
|
setup_fec();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user