]> git.baikalelectronics.ru Git - uboot.git/commitdiff
imx: Use SATA instead of CMD_SATA
authorSimon Glass <sjg@chromium.org>
Wed, 22 Feb 2023 16:34:17 +0000 (09:34 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 3 Mar 2023 14:49:02 +0000 (09:49 -0500)
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>
board/solidrun/mx6cuboxi/mx6cuboxi.c

index 7c44379ec4af07ecf538b6175072cb7398c08443..cb14c2f30c9f4c333a22bac1ab9ac4e80760a15b 100644 (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();