S5P: goni: fix for relocation
PATCH 2/2 S5P: goni: fix for relocation
Signed-off-by Minkyu Kang <[email protected]>
Signed-off-by Kyungmin Park <[email protected]>
--- board/samsung/goni/goni.c | 10 ++++++++-- include/configs/s5p_goni.h | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-)
board/samsung/goni/goni.c +8 -2
@@ -43,14 +43,20 @@ int board_init(void)int dram_init (void ) { + gd->ram_size =PHYS_SDRAM_1_SIZE +PHYS_SDRAM_2_SIZE + +PHYS_SDRAM_3_SIZE ; + +return 0 ; +} + +void dram_init_banksize (void ) +{ gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; gd->bd->bi_dram[0 ].size =PHYS_SDRAM_1_SIZE ; gd->bd->bi_dram[1 ].start =PHYS_SDRAM_2 ; gd->bd->bi_dram[1 ].size =PHYS_SDRAM_2_SIZE ; gd->bd->bi_dram[2 ].start =PHYS_SDRAM_3 ; gd->bd->bi_dram[2 ].size =PHYS_SDRAM_3_SIZE ; - -return 0 ; }#ifdef CONFIG_DISPLAY_BOARDINFO
include/configs/s5p_goni.h +2 -0
@@ -217,4 +217,6 @@#define CONFIG_DOS_PARTITION 1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000) +#endif /* __CONFIG_H */
Signature · 1 line
1.7.0.4
PATCH 2/2 S5P: goni: fix for relocation
Quoted 7 lines · Minkyu Kang
Signed-off-by Minkyu Kang <[email protected]>Signed-off-by Kyungmin Park <[email protected]>---
?board/samsung/goni/goni.c ?| ? 10 ++++++++-- ?include/configs/s5p_goni.h | ? ?2 ++
?2 files changed, 10 insertions(+), 2 deletions(-)
applied to u-boot-samsung
Signature · 2 lines
from. prom. www.promsoft.net