#include <common.h>
#include <image.h>
#include <init.h>
+#include <asm/global_data.h>
#include <asm/io.h>
#include <led.h>
+DECLARE_GLOBAL_DATA_PTR;
+
enum {
BOARD_TYPE_PCB116 = 0xAABBCE00,
};
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;
}