global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_*
[platform/kernel/u-boot.git] / board / mscc / servalt / servalt.c
index 879f5de..4999316 100644 (file)
@@ -6,6 +6,7 @@
 #include <common.h>
 #include <image.h>
 #include <init.h>
+#include <asm/global_data.h>
 #include <asm/io.h>
 #include <led.h>
 
@@ -21,11 +22,7 @@ int board_early_init_r(void)
        writel(0, BASE_CFG + ICPU_SW_MODE);
 
        /* Address of boot parameters */
-       gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE;
-
-       /* LED setup */
-       if (IS_ENABLED(CONFIG_LED))
-               led_default_state();
+       gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE;
 
        return 0;
 }