projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_*
[platform/kernel/u-boot.git]
/
board
/
mscc
/
servalt
/
servalt.c
diff --git
a/board/mscc/servalt/servalt.c
b/board/mscc/servalt/servalt.c
index
71891f6
..
4999316
100644
(file)
--- a/
board/mscc/servalt/servalt.c
+++ b/
board/mscc/servalt/servalt.c
@@
-4,10
+4,14
@@
*/
#include <common.h>
*/
#include <common.h>
+#include <image.h>
#include <init.h>
#include <init.h>
+#include <asm/global_data.h>
#include <asm/io.h>
#include <led.h>
#include <asm/io.h>
#include <led.h>
+DECLARE_GLOBAL_DATA_PTR;
+
enum {
BOARD_TYPE_PCB116 = 0xAABBCE00,
};
enum {
BOARD_TYPE_PCB116 = 0xAABBCE00,
};
@@
-18,11
+22,7
@@
int board_early_init_r(void)
writel(0, BASE_CFG + ICPU_SW_MODE);
/* Address of boot parameters */
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;
}
return 0;
}