arm, 926: convert all arm926ejs based board
RFC PATCH 15/19 arm, 926: convert all arm926ejs based board
Signed-off-by Heiko Schocher <[email protected]>
--- arch/arm/cpu/arm926ejs/orion5x/dram.c | 12 ++++++++++-- board/Marvell/guruplug/guruplug.c | 15 ++++++++++++--- board/Marvell/mv88f6281gtw_ge/mv88f6281gtw_ge.c | 12 ++++++++++-- board/Marvell/openrd_base/openrd_base.c | 11 +++++++++-- board/Marvell/rd6281a/rd6281a.c | 15 ++++++++++++--- board/Marvell/sheevaplug/sheevaplug.c | 15 ++++++++++++--- board/armltd/versatile/versatile.c | 10 ++++++++++ board/atmel/at91cap9adk/at91cap9adk.c | 11 +++++++++-- board/atmel/at91sam9260ek/at91sam9260ek.c | 11 +++++++++-- board/atmel/at91sam9261ek/at91sam9261ek.c | 11 +++++++++-- board/atmel/at91sam9263ek/at91sam9263ek.c | 11 +++++++++-- board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 11 +++++++++-- board/atmel/at91sam9rlek/at91sam9rlek.c | 11 +++++++++-- board/calao/sbc35_a9g20/sbc35_a9g20.c | 15 ++++++++++----- board/calao/tny_a9260/tny_a9260.c | 14 +++++++++----- board/davinci/common/misc.c | 12 +++++++++--- board/esd/meesc/meesc.c | 13 ++++++++++--- board/esd/otc570/otc570.c | 13 ++++++++++--- board/eukrea/cpu9260/cpu9260.c | 15 ++++++++++----- board/karo/tx25/tx25.c | 6 ++---- board/keymile/km_arm/km_arm.c | 13 +++++++++++-- board/logicpd/imx27lite/config.mk | 2 +- board/logicpd/imx27lite/imx27lite.c | 15 +++++++++------ board/ronetix/pm9261/pm9261.c | 13 ++++++++++--- board/ronetix/pm9263/pm9263.c | 13 ++++++++++--- board/ronetix/pm9g45/pm9g45.c | 13 ++++++++++--- board/st/nhk8815/nhk8815.c | 11 +++++++++-- board/ti/omap1510inn/config.mk | 3 ++- board/ti/omap1510inn/omap1510innovator.c | 13 +++++++++---- board/ti/omap1610inn/config.mk | 3 ++- board/ti/omap1610inn/omap1610innovator.c | 12 +++++++++--- board/ti/omap5912osk/omap5912osk.c | 12 +++++++++--- board/ti/omap730p2/omap730p2.c | 12 +++++++++--- include/configs/at91cap9adk.h | 4 ++++ include/configs/at91sam9260ek.h | 4 ++++ include/configs/at91sam9261ek.h | 4 ++++ include/configs/at91sam9263ek.h | 4 ++++ include/configs/at91sam9m10g45ek.h | 4 ++++ include/configs/at91sam9rlek.h | 4 ++++ include/configs/cpu9260.h | 4 ++++ include/configs/da830evm.h | 5 +++++ include/configs/da850evm.h | 4 ++++ include/configs/davinci_dm355evm.h | 4 ++++ include/configs/davinci_dm355leopard.h | 4 ++++ include/configs/davinci_dm365evm.h | 4 ++++ include/configs/davinci_dm6467evm.h | 4 ++++ include/configs/davinci_dvevm.h | 6 ++++++ include/configs/davinci_schmoogie.h | 5 +++++ include/configs/davinci_sffsdr.h | 5 +++++ include/configs/davinci_sonata.h | 6 ++++++ include/configs/edminiv2.h | 4 ++++ include/configs/guruplug.h | 4 ++++ include/configs/imx27lite-common.h | 4 ++++ include/configs/km_arm.h | 4 ++++ include/configs/meesc.h | 4 ++++ include/configs/mv88f6281gtw_ge.h | 4 ++++ include/configs/nhk8815.h | 4 ++++ include/configs/ns9750dev.h | 4 ++++ include/configs/omap1610h2.h | 4 ++++ include/configs/omap1610inn.h | 4 ++++ include/configs/omap5912osk.h | 4 ++++ include/configs/omap730p2.h | 4 ++++ include/configs/openrd_base.h | 4 ++++ include/configs/otc570.h | 4 ++++ include/configs/pm9261.h | 4 ++++ include/configs/pm9263.h | 4 ++++ include/configs/pm9g45.h | 4 ++++ include/configs/rd6281a.h | 4 ++++ include/configs/sbc35_a9g20.h | 4 ++++ include/configs/sheevaplug.h | 4 ++++ include/configs/tny_a9260.h | 4 ++++ include/configs/versatile.h | 4 ++++ 72 files changed, 452 insertions(+), 90 deletions(-)
arch/arm/cpu/arm926ejs/orion5x/dram.c +10 -2
@@ -50,7 +50,16 @@ u32 orion5x_sdram_bar(enum memory_bank bank)return result; } -int dram_init (void ) +int dram_init (void ) +{ +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ( + (volatile long *)orion5x_sdram_bar (0 ), +CONFIG_MAX_RAM_BANK_SIZE ); +return 0 ; +} + +void dram_init_banksize (void ) {int i;
@@ -60,5 +69,4 @@ int dram_init(void) (volatile long *) (gd->bd->bi_dram[i].start), CONFIG_MAX_RAM_BANK_SIZE); } -return 0 ; }
board/Marvell/guruplug/guruplug.c +12 -3
@@ -108,15 +108,24 @@ int board_init(void)return 0 ; } -int dram_init (void ) +int dram_init (void ) +{ +/* dram_init must store complete ramsize in gd->ram_size */ +/* Fix this */ + gd->ram_size =get_ram_size ((volatile void *)kw_sdram_bar (0 ), +kw_sdram_bs (0 )); +return 0 ; +} + +void dram_init_banksize (void ) {int i;for (i =0 ; i <CONFIG_NR_DRAM_BANKS ; i++) { gd->bd->bi_dram[i].start =kw_sdram_bar (i); - gd->bd->bi_dram[i].size =kw_sdram_bs (i); + gd->bd->bi_dram[i].size =get_ram_size ((long *)kw_sdram_bar (i), +kw_sdram_bs (i)); } -return 0 ; }#ifdef CONFIG_RESET_PHY_R
board/Marvell/mv88f6281gtw_ge/mv88f6281gtw_ge.c +10 -2
@@ -110,7 +110,16 @@ int board_init(void)return 0 ; } -int dram_init (void ) +int dram_init (void ) +{ +/* dram_init must store complete ramsize in gd->ram_size */ +/* Fix this */ + gd->ram_size =get_ram_size ((volatile void *)kw_sdram_bar (0 ), +kw_sdram_bs (0 )); +return 0 ; +} + +void dram_init_banksize (void ) {int i;
@@ -118,7 +127,6 @@ int dram_init(void) gd->bd->bi_dram[i].start =kw_sdram_bar (i); gd->bd->bi_dram[i].size =kw_sdram_bs (i); } -return 0 ; }#ifdef CONFIG_MV88E61XX_SWITCH
board/Marvell/openrd_base/openrd_base.c +9 -2
@@ -113,7 +113,15 @@ int board_init(void)return 0 ; } -int dram_init (void ) +int dram_init (void ) +{ +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +kw_sdram_bs (0 )); +return 0 ; +} + +void dram_init_banksize (void ) {int i;
@@ -121,7 +129,6 @@ int dram_init(void) gd->bd->bi_dram[i].start =kw_sdram_bar (i); gd->bd->bi_dram[i].size =kw_sdram_bs (i); } -return 0 ; }#ifdef CONFIG_RESET_PHY_R
board/Marvell/rd6281a/rd6281a.c +12 -3
@@ -109,15 +109,24 @@ int board_init(void)return 0 ; } -int dram_init (void ) +int dram_init (void ) +{ +/* dram_init must store complete ramsize in gd->ram_size */ +/* Fix this */ + gd->ram_size =get_ram_size ((volatile void *)kw_sdram_bar (0 ), +kw_sdram_bs (0 )); +return 0 ; +} + +void dram_init_banksize (void ) {int i;for (i =0 ; i <CONFIG_NR_DRAM_BANKS ; i++) { gd->bd->bi_dram[i].start =kw_sdram_bar (i); - gd->bd->bi_dram[i].size =kw_sdram_bs (i); + gd->bd->bi_dram[i].size =get_ram_size ((long *)kw_sdram_bar (i), +kw_sdram_bs (i)); } -return 0 ; }void mv_phy_88e1116_init (char *name)
board/Marvell/sheevaplug/sheevaplug.c +12 -3
@@ -108,15 +108,24 @@ int board_init(void)return 0 ; } -int dram_init (void ) +int dram_init (void ) +{ +/* dram_init must store complete ramsize in gd->ram_size */ +/* Fix this */ + gd->ram_size =get_ram_size ((volatile void *)kw_sdram_bar (0 ), +kw_sdram_bs (0 )); +return 0 ; +} + +void dram_init_banksize (void ) {int i;for (i =0 ; i <CONFIG_NR_DRAM_BANKS ; i++) { gd->bd->bi_dram[i].start =kw_sdram_bar (i); - gd->bd->bi_dram[i].size =kw_sdram_bs (i); + gd->bd->bi_dram[i].size =get_ram_size ((long *)kw_sdram_bar (i), +kw_sdram_bs (i)); } -return 0 ; }#ifdef CONFIG_RESET_PHY_R
board/armltd/versatile/versatile.c +10 -0
@@ -88,9 +88,19 @@ int misc_init_r (void)******************************/ int dram_init (void ) { +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_1_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size =get_ram_size ((volatile void *)PHYS_SDRAM_1 , +PHYS_SDRAM_1_SIZE ); +} +#ifdef CONFIG_CMD_NET int board_eth_init (bd_t *bis) {
board/atmel/at91cap9adk/at91cap9adk.c +9 -2
@@ -331,11 +331,18 @@ int board_init(void)int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +#ifdef CONFIG_RESET_PHY_R void reset_phy (void ) {
board/atmel/at91sam9260ek/at91sam9260ek.c +9 -2
@@ -171,11 +171,18 @@ int board_init(void)int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +#ifdef CONFIG_RESET_PHY_R void reset_phy (void ) {
board/atmel/at91sam9261ek/at91sam9261ek.c +9 -2
@@ -273,11 +273,18 @@ int board_eth_init(bd_t *bis)int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +#ifdef CONFIG_RESET_PHY_R void reset_phy (void ) {
board/atmel/at91sam9263ek/at91sam9263ek.c +9 -2
@@ -276,11 +276,18 @@ int board_init(void)int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +#ifdef CONFIG_RESET_PHY_R void reset_phy (void ) {
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c +9 -2
@@ -283,11 +283,18 @@ int board_init(void)int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +#ifdef CONFIG_RESET_PHY_R void reset_phy (void ) {
board/atmel/at91sam9rlek/at91sam9rlek.c +9 -2
@@ -199,7 +199,14 @@ int board_init(void)int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_SIZE );return 0 ; } + +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +}
board/calao/sbc35_a9g20/sbc35_a9g20.c +10 -5
@@ -164,16 +164,21 @@ int board_init(void)return 0 ; } -int dram_init (void ) +int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; -if (get_ram_size ((long *)PHYS_SDRAM ,PHYS_SDRAM_SIZE ) !=PHYS_SDRAM_SIZE ) +/* dram_init must store complete ramsize in gd->ram_size */ +if (get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE ,PHYS_SDRAM_SIZE ) !=PHYS_SDRAM_SIZE )return -1 ; - - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; + gd->ram_size =PHYS_SDRAM_SIZE ;return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start = gd->ram_size; +} +#ifdef CONFIG_RESET_PHY_R void reset_phy (void ) {
board/calao/tny_a9260/tny_a9260.c +9 -5
@@ -99,12 +99,16 @@ int board_init(void)return 0 ; } -int dram_init (void ) +int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; -if (get_ram_size ((long *)PHYS_SDRAM ,PHYS_SDRAM_SIZE ) !=PHYS_SDRAM_SIZE ) +if (get_ram_size ((long *)CONFIG_SYS_SDRAM_BASE ,PHYS_SDRAM_SIZE ) !=PHYS_SDRAM_SIZE )return -1 ; - - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; + gd->ram_size =PHYS_SDRAM_SIZE ;return 0 ; } + +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].start = gd->ram_size; +}
board/davinci/common/misc.c +9 -3
@@ -35,10 +35,16 @@ DECLARE_GLOBAL_DATA_PTR;int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_1_SIZE ; +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_1_SIZE ); +return 0 ; +} -return (0 ); +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size = gd->ram_size; }#ifdef CONFIG_DRIVER_TI_EMAC
board/esd/meesc/meesc.c +10 -3
@@ -139,13 +139,20 @@ static void meesc_ethercat_hw_init(void)at91_set_B_periph (AT91_PIN_PE20 ,0 );/* EBI1_NWAIT */ } -int dram_init (void ) +int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =get_ram_size ((long *)PHYS_SDRAM , (1 <<27 )); +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , + (1 <<27 ));return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +int board_eth_init (bd_t *bis) {int rc =0 ;
board/esd/otc570/otc570.c +10 -3
@@ -237,13 +237,20 @@ void lcd_show_board_info(void)#endif /* CONFIG_LCD_INFO */ #endif /* CONFIG_LCD */ -int dram_init (void ) +int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =get_ram_size ((long *)PHYS_SDRAM , (1 <<27 )); +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +get_ram_size ((long *)PHYS_SDRAM , (1 <<27 )));return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +int board_eth_init (bd_t *bis) {int rc =0 ;
board/eukrea/cpu9260/cpu9260.c +10 -5
@@ -188,15 +188,20 @@ int board_init(void)int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; -if (get_ram_size ((long *)PHYS_SDRAM ,PHYS_SDRAM_SIZE ) != -PHYS_SDRAM_SIZE ) +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_SIZE ); +if (gd->ram_size !=PHYS_SDRAM_SIZE )return -1 ; - - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ;return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +#ifdef CONFIG_RESET_PHY_R void reset_phy (void ) {
board/karo/tx25/tx25.c +2 -4
@@ -160,22 +160,20 @@ int board_late_init(void)int dram_init (void ) {/* dram_init must store complete ramsize in gd->ram_size */ - gd->ram_size =get_ram_size ((volatile void *)PHYS_SDRAM_1 , + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE ,PHYS_SDRAM_1_SIZE );return 0 ; }void dram_init_banksize (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; gd->bd->bi_dram[0 ].size =get_ram_size ((volatile void *)PHYS_SDRAM_1 ,PHYS_SDRAM_1_SIZE );#if CONFIG_NR_DRAM_BANKS >1 gd->bd->bi_dram[1 ].start =PHYS_SDRAM_2 ; gd->bd->bi_dram[1 ].size =get_ram_size ((volatile void *)PHYS_SDRAM_2 ,PHYS_SDRAM_2_SIZE ); -#else -#endif }
board/keymile/km_arm/km_arm.c +11 -2
@@ -225,16 +225,25 @@ U_BOOT_CMD( );#endif -int dram_init (void ) +int dram_init (void ) +{ +/* dram_init must store complete ramsize in gd->ram_size */ +/* Fix this */ + gd->ram_size =get_ram_size ((volatile void *)kw_sdram_bar (0 ), +kw_sdram_bs (0 )); +return 0 ; +} + +void dram_init_banksize (void ) {int i;for (i =0 ; i <CONFIG_NR_DRAM_BANKS ; i++) { gd->bd->bi_dram[i].start =kw_sdram_bar (i); + gd->bd->bi_dram[i].size =kw_sdram_bs (i); gd->bd->bi_dram[i].size =get_ram_size ((long *)kw_sdram_bar (i),kw_sdram_bs (i)); } -return 0 ; }/* Configure and enable MV88E1118 PHY */
board/logicpd/imx27lite/config.mk +1 -1
@@ -1 +1 @@ -TEXT_BASE = 0xA7F00000 +TEXT_BASE = 0xc0000000
board/logicpd/imx27lite/imx27lite.c +9 -6
@@ -66,19 +66,22 @@ int board_init (void)int dram_init (void ) { +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_1_SIZE ); +return 0 ; +} -#if CONFIG_NR_DRAM_BANKS >0 - gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; - gd->bd->bi_dram[0 ].size =get_ram_size ((volatile void *)PHYS_SDRAM_1 , +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE ,PHYS_SDRAM_1_SIZE ); -#endif #if CONFIG_NR_DRAM_BANKS >1 gd->bd->bi_dram[1 ].start =PHYS_SDRAM_2 ; gd->bd->bi_dram[1 ].size =get_ram_size ((volatile void *)PHYS_SDRAM_2 ,PHYS_SDRAM_2_SIZE );#endif - -return 0 ; }int checkboard (void )
board/ronetix/pm9261/pm9261.c +10 -3
@@ -279,13 +279,20 @@ int board_eth_init(bd_t *bis) }#endif -int dram_init (void ) +int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +#ifdef CONFIG_RESET_PHY_R void reset_phy (void ) {
board/ronetix/pm9263/pm9263.c +10 -3
@@ -377,13 +377,20 @@ int board_init(void)return 0 ; } -int dram_init (void ) +int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +#ifdef CONFIG_RESET_PHY_R void reset_phy (void ) {
board/ronetix/pm9g45/pm9g45.c +10 -3
@@ -158,13 +158,20 @@ int board_init(void)return 0 ; } -int dram_init (void ) +int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_SIZE ; +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +#ifdef CONFIG_RESET_PHY_R void reset_phy (void ) {
board/st/nhk8815/nhk8815.c +9 -2
@@ -80,7 +80,15 @@ int board_late_init(void)return 0 ; } -int dram_init (void ) +int dram_init (void ) +{ +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_1_SIZE ); +return 0 ; +} + +void dram_init_banksize (void ) {/* set dram bank start addr and size */ gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ;
@@ -88,7 +96,6 @@ int dram_init(void) gd->bd->bi_dram[1 ].start =PHYS_SDRAM_2 ; gd->bd->bi_dram[1 ].size =PHYS_SDRAM_2_SIZE ; -return 0 ; }#ifdef CONFIG_CMD_NET
board/ti/omap1510inn/config.mk +2 -1
@@ -22,4 +22,5 @@ # -TEXT_BASE = 0x11080000 +#TEXT_BASE = 0x11080000 +TEXT_BASE = 0x00000000
board/ti/omap1510inn/omap1510innovator.c +9 -4
@@ -120,15 +120,20 @@ static void ether__init (void)udelay (3 ); } -int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_1_SIZE ; - +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_1_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +#ifdef CONFIG_CMD_NET int board_eth_init (bd_t *bis) {
board/ti/omap1610inn/config.mk +2 -1
@@ -23,4 +23,5 @@ # -TEXT_BASE = 0x11080000 +#TEXT_BASE = 0x11080000 +TEXT_BASE = 0x00000000
board/ti/omap1610inn/omap1610innovator.c +9 -3
@@ -154,12 +154,18 @@ void ether__init (void)******************************/ int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_1_SIZE ; - +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_1_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +/****************************************************** Routine: set_muxconf_regs Description: Setting up the configuration Mux registers
board/ti/omap5912osk/omap5912osk.c +9 -3
@@ -137,12 +137,18 @@ void ether__init (void)******************************/ int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_1_SIZE ; - +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_1_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +/****************************************************** Routine: set_muxconf_regs Description: Setting up the configuration Mux registers
board/ti/omap730p2/omap730p2.c +9 -3
@@ -181,12 +181,18 @@ void ether__init (void)******************************/ int dram_init (void ) { - gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_1_SIZE ; - +/* dram_init must store complete ramsize in gd->ram_size */ + gd->ram_size =get_ram_size ((volatile void *)CONFIG_SYS_SDRAM_BASE , +PHYS_SDRAM_1_SIZE );return 0 ; } +void dram_init_banksize (void ) +{ + gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; + gd->bd->bi_dram[0 ].size = gd->ram_size; +} +/****************************************************** Routine: set_muxconf_regs Description: Setting up the configuration Mux registers
include/configs/at91cap9adk.h +4 -0
@@ -217,4 +217,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/at91sam9260ek.h +4 -0
@@ -221,4 +221,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/at91sam9261ek.h +4 -0
@@ -239,4 +239,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/at91sam9263ek.h +4 -0
@@ -349,4 +349,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/at91sam9m10g45ek.h +4 -0
@@ -225,4 +225,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/at91sam9rlek.h +4 -0
@@ -184,4 +184,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/cpu9260.h +4 -0
@@ -453,4 +453,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/da830evm.h +5 -0
@@ -281,4 +281,9 @@ "mtdparts=davinci_nand.1:" PART_BOOT PART_PARAMS PART_KERNEL PART_REST#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE 0xc0000000/* should be DAVINCI_DDR_EMIF_DATA_BASE */ +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE ) +#endif /* __CONFIG_H */
include/configs/da850evm.h +4 -0
@@ -137,4 +137,8 @@#undef CONFIG_CMD_ENV#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE 0xc0000000 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/davinci_dm355evm.h +4 -0
@@ -191,4 +191,8 @@#define MTDPARTS_DEFAULT \ "mtdparts=davinci_nand.0:" PART_BOOT PART_KERNEL PART_REST +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/davinci_dm355leopard.h +4 -0
@@ -159,4 +159,8 @@#define MTDPARTS_DEFAULT \ "mtdparts=davinci_nand.0:" PART_BOOT PART_KERNEL PART_REST +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/davinci_dm365evm.h +4 -0
@@ -217,4 +217,8 @@#define MTDPARTS_DEFAULT \ "mtdparts=davinci_nand.0:" PART_BOOT PART_KERNEL PART_REST +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/davinci_dm6467evm.h +4 -0
@@ -128,4 +128,8 @@#define CONFIG_CMD_NAND #endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/davinci_dvevm.h +6 -0
@@ -161,6 +161,7 @@#define PHYS_FLASH_SIZE 0x2000000/* Flash size 32MB */ #define CONFIG_SYS_MAX_FLASH_SECT (PHYS_FLASH_SIZE/CONFIG_SYS_FLASH_SECT_SZ)#define CONFIG_ENV_SECT_SIZE CONFIG_SYS_FLASH_SECT_SZ/* Env sector Size */ +#define CONFIG_ENV_SIZE CONFIG_SYS_FLASH_SECT_SZ/* Fix this */ #endif /*==============================*/ /* U-Boot general configuration */
@@ -240,4 +241,9 @@#define CONFIG_KGDB_BAUDRATE 115200/* speed to run kgdb serial port */ #define CONFIG_KGDB_SER_INDEX 1/* which serial port to use */ #endif + +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/davinci_schmoogie.h +5 -0
@@ -157,4 +157,9 @@#define CONFIG_KGDB_BAUDRATE 115200/* speed to run kgdb serial port */ #define CONFIG_KGDB_SER_INDEX 1/* which serial port to use */ #endif + +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/davinci_sffsdr.h +5 -0
@@ -150,4 +150,9 @@#define CONFIG_KGDB_BAUDRATE 115200/* speed to run kgdb serial port */ #define CONFIG_KGDB_SER_INDEX 1/* which serial port to use */ #endif + +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/davinci_sonata.h +6 -0
@@ -148,6 +148,7 @@#define PHYS_FLASH_SIZE 0x2000000/* Flash size 32MB */ #define CONFIG_SYS_MAX_FLASH_SECT (PHYS_FLASH_SIZE/CONFIG_SYS_FLASH_SECT_SZ)#define CONFIG_ENV_SECT_SIZE CONFIG_SYS_FLASH_SECT_SZ/* Env sector Size */ +#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE/* Fix this */ #endif /*==============================*/ /* U-Boot general configuration */
@@ -209,4 +210,9 @@#define CONFIG_KGDB_BAUDRATE 115200/* speed to run kgdb serial port */ #define CONFIG_KGDB_SER_INDEX 1/* which serial port to use */ #endif + +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/edminiv2.h +4 -0
@@ -180,4 +180,8 @@#define CONFIG_SYS_RESET_ADDRESS 0xffff0000#define CONFIG_SYS_MAXARGS 16 +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE 0x00000000 +#define CONFIG_SYS_INIT_SP_ADDR (0x00000000 + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* _CONFIG_EDMINIV2_H */
include/configs/guruplug.h +4 -0
@@ -195,4 +195,8 @@#define CONFIG_SYS_ALT_MEMTEST +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE 0x00000000 +#define CONFIG_SYS_INIT_SP_ADDR (0x00000000 + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* _CONFIG_GURUPLUG_H */
include/configs/imx27lite-common.h +4 -0
@@ -234,4 +234,8 @@"mtdids=" MTDIDS_DEFAULT "\0" \"mtdparts=" MTDPARTS_DEFAULT "\0" \ +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __IMX27LITE_COMMON_CONFIG_H */
include/configs/km_arm.h +4 -0
@@ -188,4 +188,8 @@ int get_scl (void);#undef CONFIG_JFFS2_CMDLINE#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE 0x00000000 +#define CONFIG_SYS_INIT_SP_ADDR (0x00000000 + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* _CONFIG_KM_ARM_H */
include/configs/meesc.h +4 -0
@@ -180,4 +180,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/mv88f6281gtw_ge.h +4 -0
@@ -197,4 +197,8 @@#define CONFIG_SUPPORT_VFAT #endif /* CONFIG_CMD_USB */ +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE 0x00000000 +#define CONFIG_SYS_INIT_SP_ADDR (0x00000000 + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* _CONFIG_MV88F6281GTW_GE_H */
include/configs/nhk8815.h +4 -0
@@ -197,4 +197,8 @@#define CONFIG_SYS_MAX_FLASH_SECT 512#define CONFIG_SYS_MAX_FLASH_BANKS 1 +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/ns9750dev.h +4 -0
@@ -195,4 +195,8 @@ extern void __led_set(led_id_t mask, int state);#endif /* CONFIG_STATUS_LED */ +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/omap1610h2.h +4 -0
@@ -190,4 +190,8 @@ extern unsigned long omap_flash_base; /* set in flash__init */#define CONFIG_ENV_SIZE 0x20000/* Total Size of Environment Sector */ #define CONFIG_ENV_OFFSET 0x20000/* environment starts here */ +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/omap1610inn.h +4 -0
@@ -195,4 +195,8 @@ extern unsigned long omap_flash_base; /* set in flash__init */#define CONFIG_ENV_SIZE 0x20000/* Total Size of Environment Sector */ #define CONFIG_ENV_OFFSET 0x20000/* environment starts here */ +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/omap5912osk.h +4 -0
@@ -200,4 +200,8 @@#define CONFIG_ENV_SIZE 0x20000/* Total Size of Environment Sector */ #define CONFIG_ENV_OFFSET 0x20000/* environment starts here */ +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
include/configs/omap730p2.h +4 -0
@@ -201,4 +201,8 @@#define CONFIG_ENV_SIZE 0x20000/* Total Size of Environment Sector */ #define CONFIG_ENV_OFFSET 0x20000/* environment starts here */ +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* ! __CONFIG_H */
include/configs/openrd_base.h +4 -0
@@ -216,4 +216,8 @@#define CONFIG_CMD_MTDPARTS #define CONFIG_LZO +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE 0x00000000 +#define CONFIG_SYS_INIT_SP_ADDR (0x00000000 + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* _CONFIG_OPENRD_BASE_H */
include/configs/otc570.h +4 -0
@@ -242,4 +242,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/pm9261.h +4 -0
@@ -378,4 +378,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/pm9263.h +4 -0
@@ -409,4 +409,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/pm9g45.h +4 -0
@@ -183,4 +183,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/rd6281a.h +4 -0
@@ -195,4 +195,8 @@#define CONFIG_SUPPORT_VFAT #endif /* CONFIG_CMD_USB */ +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE 0x00000000 +#define CONFIG_SYS_INIT_SP_ADDR (0x00000000 + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* _CONFIG_RD6281A_H */
include/configs/sbc35_a9g20.h +4 -0
@@ -194,4 +194,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/sheevaplug.h +4 -0
@@ -209,4 +209,8 @@#define CONFIG_CMD_MTDPARTS #define CONFIG_LZO +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE 0x00000000 +#define CONFIG_SYS_INIT_SP_ADDR (0x00000000 + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* _CONFIG_SHEEVAPLUG_H */
include/configs/tny_a9260.h +4 -0
@@ -172,4 +172,8 @@#error CONFIG_USE_IRQ not supported#endif +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif
include/configs/versatile.h +4 -0
@@ -232,4 +232,8 @@#define CONFIG_SYS_FLASH_PROTECTION /* The devices have real protection */ #define CONFIG_SYS_FLASH_EMPTY_INFO /* flinfo indicates empty blocks */ +/* additions for new relocation code, must added to all boards */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +CONFIG_SYS_GBL_DATA_SIZE )#endif /* __CONFIG_H */
Signature · 5 lines
1.6.2.5 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany