File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,17 @@ int board_init(void)
65
65
66
66
int dram_init (void )
67
67
{
68
- gd -> bd -> bi_dram [0 ].start = PHYS_SDRAM_1 ;
69
- gd -> bd -> bi_dram [0 ].size = get_ram_size ((long * )PHYS_SDRAM_1 ,
70
- PHYS_SDRAM_1_SIZE );
68
+ gd -> ram_size = get_ram_size ((long * )PHYS_SDRAM_1 , PHYS_SDRAM_1_SIZE );
71
69
72
70
return 0 ;
73
71
}
74
72
73
+ void dram_init_banksize (void )
74
+ {
75
+ gd -> bd -> bi_dram [0 ].start = PHYS_SDRAM_1 ;
76
+ gd -> bd -> bi_dram [0 ].size = PHYS_SDRAM_1_SIZE ;
77
+ }
78
+
75
79
#ifdef CONFIG_DISPLAY_BOARDINFO
76
80
int checkboard (void )
77
81
{
Original file line number Diff line number Diff line change 231
231
232
232
#define CONFIG_DOS_PARTITION 1
233
233
234
+ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000)
235
+
234
236
/*
235
237
* Ethernet Contoller driver
236
238
*/
You can’t perform that action at this time.
0 commit comments