imx: Use SATA instead of CMD_SATA

This causes a build failure on mx6cuboxi with split config, since CMD_SATA
shows up as enabled in SPl (because there is no SPL_CMD_SATA).

The condition is wrong anyway, so change it to use SATA instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2023-02-22 09:34:17 -07:00 committed by Tom Rini
parent 06a1edda6c
commit 847fca6d47

View file

@ -275,7 +275,7 @@ int board_early_init_f(void)
{
setup_iomux_uart();
#ifdef CONFIG_CMD_SATA
#ifdef CONFIG_SATA
setup_sata();
#endif
setup_fec();