mx31pdk: Remove dram_init_banksize()
PATCH 1/13 mx31pdk: Remove dram_init_banksize()
As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c
--- board/freescale/mx31pdk/mx31pdk.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
board/freescale/mx31pdk/mx31pdk.c +0 -6
@@ -47,12 +47,6 @@ int dram_init(void)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 ; -} -int board_early_init_f (void ) {/* CS5: CPLD incl. network controller */
Signature · 1 line
1.6.0.4
PATCH 2/13 mx25pdk: Remove dram_init_banksize()
As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c
--- board/freescale/mx25pdk/mx25pdk.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
board/freescale/mx25pdk/mx25pdk.c +0 -6
@@ -33,12 +33,6 @@ int dram_init(void)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 ; -} -int board_early_init_f (void ) {mx25_uart1_init_pins ();
Signature · 1 line
1.6.0.4
PATCH 3/13 mx31ads: Remove dram_init_banksize()
As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c
--- board/freescale/mx31ads/mx31ads.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
board/freescale/mx31ads/mx31ads.c +0 -6
@@ -36,12 +36,6 @@ int dram_init(void)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 ; -} -int board_early_init_f (void ) {int i;
Signature · 1 line
1.6.0.4
PATCH 4/13 imx31_litekit: Remove dram_init_banksize()
As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c
--- board/logicpd/imx31_litekit/imx31_litekit.c | 6 ------ include/configs/imx31_litekit.h | 2 +- 2 files changed, 1 insertions(+), 7 deletions(-)
board/logicpd/imx31_litekit/imx31_litekit.c +0 -6
@@ -37,12 +37,6 @@ int dram_init(void)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 ; -} -int board_early_init_f (void ) {__REG (CSCR_U (0 )) =0x0000cf03 ;/* CS0: Nor Flash */
include/configs/imx31_litekit.h +1 -1
@@ -150,7 +150,7 @@#define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)#define CONFIG_BOARD_EARLY_INIT_F -#define CONFIG_SYS_SDRAM_BASE CSD0_BASE +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
Signature · 1 line
1.6.0.4
PATCH 5/13 mx31pdk: Place machine ID into board config
Let common code set the machine ID.
--- board/freescale/mx31pdk/mx31pdk.c | 1 - include/configs/mx31pdk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)
board/freescale/mx31pdk/mx31pdk.c +0 -1
@@ -63,7 +63,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX31_3DS ;/* board id for linux */ /* adress of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;
include/configs/mx31pdk.h +2 -0
@@ -45,6 +45,8 @@#define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG +#define CONFIG_MACH_TYPE MACH_TYPE_MX31_3DS +#if defined(CONFIG_NAND_U_BOOT ) && !defined(CONFIG_NAND_SPL )#define CONFIG_SKIP_LOWLEVEL_INIT #endif
Signature · 1 line
1.6.0.4
PATCH 6/13 mx25pdk: Place machine ID into board config
Let common code set the machine ID.
--- board/freescale/mx25pdk/mx25pdk.c | 1 - include/configs/mx25pdk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)
board/freescale/mx25pdk/mx25pdk.c +0 -1
@@ -42,7 +42,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX25_3DS ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;
include/configs/mx25pdk.h +2 -0
@@ -28,6 +28,8 @@#define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG +#define CONFIG_MACH_TYPE MACH_TYPE_MX25_3DS +/* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
Signature · 1 line
1.6.0.4
PATCH 7/13 mx31ads: Place machine ID into board config
Let common code set the machine ID.
--- board/freescale/mx31ads/mx31ads.c | 1 - include/configs/mx31ads.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)
board/freescale/mx31ads/mx31ads.c +0 -1
@@ -99,7 +99,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX31ADS ;/* board id for linux */ gd->bd->bi_boot_params =0x80000100 ;/* adress of boot parameters */ return 0 ;
include/configs/mx31ads.h +2 -0
@@ -35,6 +35,8 @@#define CONFIG_SYS_TEXT_BASE 0xA0000000 +#define CONFIG_MACH_TYPE MACH_TYPE_MX31ADS +/* * Disabled for now due to build problems under Debian and a significant increase * in the final file size: 144260 vs. 109536 Bytes.
Signature · 1 line
1.6.0.4
PATCH 8/13 imx31_litekit: Place machine ID into board config
Let common code set the machine ID.
--- board/logicpd/imx31_litekit/imx31_litekit.c | 1 - include/configs/imx31_litekit.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)
board/logicpd/imx31_litekit/imx31_litekit.c +0 -1
@@ -70,7 +70,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX31LITE ;/* board id for linux */ gd->bd->bi_boot_params = (0x80000100 );/* adress of boot parameters */ return 0 ;
include/configs/imx31_litekit.h +2 -0
@@ -41,6 +41,8 @@#define CONFIG_SYS_TEXT_BASE 0xa0000000 +#define CONFIG_MACH_TYPE MACH_TYPE_MX31LITE +/* Temporarily disabled */ #if 0 #define CONFIG_OF_LIBFDT 1
Signature · 1 line
1.6.0.4
PATCH 9/13 mx51evk: Place machine ID into board config
Let common code set the machine ID.
--- board/freescale/mx51evk/mx51evk.c | 1 - include/configs/mx51evk.h | 1 + 2 files changed, 1 insertions(+), 1 deletions(-)
board/freescale/mx51evk/mx51evk.c +0 -1
@@ -403,7 +403,6 @@ int board_init(void) { system_rev =get_cpu_rev (); - gd->bd->bi_arch_number =MACH_TYPE_MX51_BABBAGE ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;
include/configs/mx51evk.h +1 -0
@@ -48,6 +48,7 @@#define CONFIG_OF_LIBFDT 1 +#define CONFIG_MACH_TYPE MACH_TYPE_MX51_BABBAGE/* * Size of malloc() pool */
Signature · 1 line
1.6.0.4
PATCH 10/13 mx53loco: Place machine ID into board config
Let common code set the machine ID.
--- board/freescale/mx53loco/mx53loco.c | 1 - include/configs/mx53loco.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)
board/freescale/mx53loco/mx53loco.c +0 -1
@@ -288,7 +288,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX53_LOCO ; gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;return 0 ;
include/configs/mx53loco.h +2 -0
@@ -30,6 +30,8 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_LOCO +#include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG
Signature · 1 line
1.6.0.4
PATCH 11/13 mx53smd: Place machine ID into board config
Let common code set the machine ID.
--- board/freescale/mx53smd/mx53smd.c | 1 - include/configs/mx53smd.h | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-)
board/freescale/mx53smd/mx53smd.c +0 -1
@@ -214,7 +214,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX53_SMD ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;
include/configs/mx53smd.h +3 -1
@@ -1,7 +1,7 @@/* * Copyright (C) 2011 Freescale Semiconductor, Inc. * -* Configuration settings for the MX53-SMDFreescale board. +* Configuration settings for the MX53SMD Freescale board. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as
@@ -29,6 +29,8 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_SMD +#include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
Signature · 1 line
1.6.0.4
PATCH 12/13 mx53ard: Place machine ID into board config
Let common code set the machine ID.
--- board/freescale/mx53ard/mx53ard.c | 1 - include/configs/mx53ard.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)
board/freescale/mx53ard/mx53ard.c +0 -1
@@ -278,7 +278,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX53_ARD ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;
include/configs/mx53ard.h +2 -0
@@ -29,6 +29,8 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_ARD +#include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
Signature · 1 line
1.6.0.4
PATCH 13/13 mx53evk: Place machine ID into board config
Let common code set the machine ID.
--- board/freescale/mx53evk/mx53evk.c | 1 - include/configs/mx53evk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)
board/freescale/mx53evk/mx53evk.c +0 -1
@@ -355,7 +355,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX53_EVK ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;
include/configs/mx53evk.h +2 -0
@@ -29,6 +29,8 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_EVK +#include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG 1/* enable passing of ATAGs */
Signature · 1 line
1.6.0.4
PATCH 13/13 mx53evk: Place machine ID into board config
Quoted 25 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/freescale/mx53evk/mx53evk.c | 1 - include/configs/mx53evk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)board/freescale/mx53evk/mx53evk.c +0
-1@@ -355,7 +355,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX53_EVK ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;include/configs/mx53evk.h +0
-0
include/configs/mx53evk.h line 36
Quoted 8 lines
include/configs/mx53evk.h +2
-0@@ -29,6 +29,8 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_EVK +#include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG 1/* enable passing of ATAGs */
Forwarded to Jason.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 13/13 mx53evk: Place machine ID into board config
Hi, Fabio,
Quoted 4 lines · Stefano Babic
Quoted 3 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>
As Stefano said, please Cc me here.
Quoted 25 lines
Quoted 25 lines
---
?board/freescale/mx53evk/mx53evk.c | ? ?1 -
?include/configs/mx53evk.h ? ? ? ? | ? ?2 ++
?2 files changed, 2 insertions(+), 1 deletions(-)board/freescale/mx53evk/mx53evk.c +0
-1@@ -355,7 +355,6 @@ int board_early_init_f(void) ?int board_init(void) ?{ - ? ? gd->bd->bi_arch_number = MACH_TYPE_MX53_EVK;? ? ? /* address of boot parameters */
? ? ?gd->bd->bi_boot_params=PHYS_SDRAM_1+0x100;include/configs/mx53evk.h +0
-0@@ -29,6 +29,8 @@?#define
CONFIG_DISPLAY_CPUINFO
?#defineCONFIG_DISPLAY_BOARDINFO
Quoted 7 lines
Quoted 5 lines
include/configs/mx53evk.h +2
-0+#define CONFIG_MACH_TYPE ? ? MACH_TYPE_MX53_EVK +?#include <
asm/arch/imx-regs.h>?#define
CONFIG_CMDLINE_TAG? ? ? ? ? 1 ? ? ? /* enable passing of ATAGs */Forwarded to Jason.
Quoted 13 lines
Acked-by Stefano Babic <[email protected]>Best regards,
Stefano Babic--
=====================================================================
DENX Software Engineering GmbH, ? ? MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 ?Email: office at denx.de
=====================================================================
PATCH 13/13 mx53evk: Place machine ID into board config
In reply to Fabio EstevamQuoted 25 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/freescale/mx53evk/mx53evk.c | 1 - include/configs/mx53evk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)board/freescale/mx53evk/mx53evk.c +0
-1@@ -355,7 +355,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX53_EVK ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;include/configs/mx53evk.h +0
-0
include/configs/mx53evk.h line 36
Quoted 8 lines
include/configs/mx53evk.h +2
-0@@ -29,6 +29,8 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_EVK +#include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG 1/* enable passing of ATAGs */
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 12/13 mx53ard: Place machine ID into board config
In reply to Fabio EstevamQuoted 25 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/freescale/mx53ard/mx53ard.c | 1 - include/configs/mx53ard.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)board/freescale/mx53ard/mx53ard.c +0
-1@@ -278,7 +278,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX53_ARD ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;include/configs/mx53ard.h +0
-0
include/configs/mx53ard.h line 36
Quoted 8 lines
include/configs/mx53ard.h +2
-0@@ -29,6 +29,8 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_ARD +#include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 11/13 mx53smd: Place machine ID into board config
In reply to Fabio EstevamQuoted 34 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/freescale/mx53smd/mx53smd.c | 1 - include/configs/mx53smd.h | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-)board/freescale/mx53smd/mx53smd.c +0
-1@@ -214,7 +214,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX53_SMD ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;include/configs/mx53smd.h +1
-1@@ -1,7 +1,7 @@/* * Copyright (C) 2011 Freescale Semiconductor, Inc. * -* Configuration settings for the MX53-SMDFreescale board. +* Configuration settings for the MX53SMD Freescale board. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as
include/configs/mx53smd.h line 36
Quoted 8 lines
include/configs/mx53smd.h +2
-0@@ -29,6 +29,8 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_SMD +#include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 10/13 mx53loco: Place machine ID into board config
In reply to Fabio EstevamQuoted 25 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/freescale/mx53loco/mx53loco.c | 1 - include/configs/mx53loco.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)board/freescale/mx53loco/mx53loco.c +0
-1@@ -288,7 +288,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX53_LOCO ; gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;return 0 ;include/configs/mx53loco.h +0
-0
include/configs/mx53loco.h line 37
Quoted 8 lines
include/configs/mx53loco.h +2
-0@@ -30,6 +30,8 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_LOCO +#include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG
No problem with the patch, but it should be sent to the board maintainer,too (Jason, in CC).
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 10/13 mx53loco: Place machine ID into board config
Quoted 4 lines · Stefano Babic
Quoted 3 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>
As Stefano said, please Cc me here.
Quoted 29 lines
Quoted 29 lines
---
?board/freescale/mx53loco/mx53loco.c | ? ?1 -
?include/configs/mx53loco.h ? ? ? ? ?| ? ?2 ++
?2 files changed, 2 insertions(+), 1 deletions(-)board/freescale/mx53loco/mx53loco.c +0
-1@@ -288,7 +288,6 @@ int board_early_init_f(void) ?int board_init(void) ?{ - ? ? gd->bd->bi_arch_number = MACH_TYPE_MX53_LOCO; ? ? ? gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; ? ? ? return 0;include/configs/mx53loco.h +0
-0@@ -30,6 +30,8 @@?#define
CONFIG_DISPLAY_CPUINFO
?#defineCONFIG_DISPLAY_BOARDINFOinclude/configs/mx53loco.h +2
-0+#define CONFIG_MACH_TYPE ? ? MACH_TYPE_MX53_LOCO +?#include <
asm/arch/imx-regs.h>
Quoted 5 lines
Quoted 1 line
?#define
CONFIG_CMDLINE_TAGNo problem with the patch, but it should be sent to the board maintainer,too (Jason, in CC).
+1, please
Quoted 11 lines
Best regards,
Stefano Babic--
=====================================================================
DENX Software Engineering GmbH, ? ? MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 ?Email: office at denx.de
=====================================================================
PATCH 10/13 mx53loco: Place machine ID into board config
In reply to Fabio EstevamQuoted 25 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/freescale/mx53loco/mx53loco.c | 1 - include/configs/mx53loco.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)board/freescale/mx53loco/mx53loco.c +0
-1@@ -288,7 +288,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX53_LOCO ; gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;return 0 ;include/configs/mx53loco.h +0
-0
include/configs/mx53loco.h line 37
Quoted 8 lines
include/configs/mx53loco.h +2
-0@@ -30,6 +30,8 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_LOCO +#include <asm/arch/imx-regs.h> #define CONFIG_CMDLINE_TAG
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 9/13 mx51evk: Place machine ID into board config
In reply to Fabio EstevamQuoted 25 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/freescale/mx51evk/mx51evk.c | 1 - include/configs/mx51evk.h | 1 + 2 files changed, 1 insertions(+), 1 deletions(-)board/freescale/mx51evk/mx51evk.c +0
-1@@ -403,7 +403,6 @@ int board_init(void) { system_rev =get_cpu_rev (); - gd->bd->bi_arch_number =MACH_TYPE_MX51_BABBAGE ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;include/configs/mx51evk.h +0
-0
include/configs/mx51evk.h line 54
Quoted 7 lines
include/configs/mx51evk.h +1
-0@@ -48,6 +48,7 @@#define CONFIG_OF_LIBFDT 1 +#define CONFIG_MACH_TYPE MACH_TYPE_MX51_BABBAGE/* * Size of malloc() pool */
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 8/13 imx31_litekit: Place machine ID into board config
In reply to Fabio EstevamQuoted 25 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/logicpd/imx31_litekit/imx31_litekit.c | 1 - include/configs/imx31_litekit.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)board/logicpd/imx31_litekit/imx31_litekit.c +0
-1@@ -70,7 +70,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX31LITE ;/* board id for linux */ gd->bd->bi_boot_params = (0x80000100 );/* adress of boot parameters */ return 0 ;include/configs/imx31_litekit.h +0
-0
include/configs/imx31_litekit.h line 48
Quoted 8 lines
include/configs/imx31_litekit.h +2
-0@@ -41,6 +41,8 @@#define CONFIG_SYS_TEXT_BASE 0xa0000000 +#define CONFIG_MACH_TYPE MACH_TYPE_MX31LITE +/* Temporarily disabled */ #if 0 #define CONFIG_OF_LIBFDT 1
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 7/13 mx31ads: Place machine ID into board config
In reply to Fabio EstevamQuoted 25 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/freescale/mx31ads/mx31ads.c | 1 - include/configs/mx31ads.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)board/freescale/mx31ads/mx31ads.c +0
-1@@ -99,7 +99,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX31ADS ;/* board id for linux */ gd->bd->bi_boot_params =0x80000100 ;/* adress of boot parameters */ return 0 ;include/configs/mx31ads.h +0
-0
include/configs/mx31ads.h line 42
Quoted 8 lines
include/configs/mx31ads.h +2
-0@@ -35,6 +35,8 @@#define CONFIG_SYS_TEXT_BASE 0xA0000000 +#define CONFIG_MACH_TYPE MACH_TYPE_MX31ADS +/* * Disabled for now due to build problems under Debian and a significant increase * in the final file size: 144260 vs. 109536 Bytes.
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 6/13 mx25pdk: Place machine ID into board config
In reply to Fabio EstevamQuoted 25 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/freescale/mx25pdk/mx25pdk.c | 1 - include/configs/mx25pdk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)board/freescale/mx25pdk/mx25pdk.c +0
-1@@ -42,7 +42,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX25_3DS ;/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;include/configs/mx25pdk.h +0
-0
include/configs/mx25pdk.h line 35
Quoted 8 lines
include/configs/mx25pdk.h +2
-0@@ -28,6 +28,8 @@#define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG +#define CONFIG_MACH_TYPE MACH_TYPE_MX25_3DS +/* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 5/13 mx31pdk: Place machine ID into board config
In reply to Fabio EstevamQuoted 25 lines · Fabio Estevam
Let common code set the machine ID.
Signed-off-by Fabio Estevam <[email protected]>--- board/freescale/mx31pdk/mx31pdk.c | 1 - include/configs/mx31pdk.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletions(-)board/freescale/mx31pdk/mx31pdk.c +0
-1@@ -63,7 +63,6 @@ int board_early_init_f(void)int board_init (void ) { - gd->bd->bi_arch_number =MACH_TYPE_MX31_3DS ;/* board id for linux */ /* adress of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM_1 +0x100 ;include/configs/mx31pdk.h +0
-0
include/configs/mx31pdk.h line 52
Quoted 8 lines
include/configs/mx31pdk.h +2
-0@@ -45,6 +45,8 @@#define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG +#define CONFIG_MACH_TYPE MACH_TYPE_MX31_3DS +#if defined(CONFIG_NAND_U_BOOT ) && !defined(CONFIG_NAND_SPL )#define CONFIG_SKIP_LOWLEVEL_INIT #endif
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 4/13 imx31_litekit: Remove dram_init_banksize()
In reply to Fabio EstevamQuoted 30 lines · Fabio Estevam
As only one RAM bank is used we can rely on the code from
arch/arm/lib/board.cSigned-off-by Fabio Estevam <[email protected]>--- board/logicpd/imx31_litekit/imx31_litekit.c | 6 ------ include/configs/imx31_litekit.h | 2 +- 2 files changed, 1 insertions(+), 7 deletions(-)board/logicpd/imx31_litekit/imx31_litekit.c +0
-6@@ -37,12 +37,6 @@ int dram_init(void)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 ; -} -int board_early_init_f (void ) {__REG (CSCR_U (0 )) =0x0000cf03 ;/* CS0: Nor Flash */ include/configs/imx31_litekit.h +0
-0
include/configs/imx31_litekit.h line 156
Quoted 8 lines
include/configs/imx31_litekit.h +1
-1@@ -150,7 +150,7 @@#define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)#define CONFIG_BOARD_EARLY_INIT_F -#define CONFIG_SYS_SDRAM_BASE CSD0_BASE +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 3/13 mx31ads: Remove dram_init_banksize()
In reply to Fabio EstevamQuoted 14 lines · Fabio Estevam
As only one RAM bank is used we can rely on the code from
arch/arm/lib/board.cSigned-off-by Fabio Estevam <[email protected]>--- board/freescale/mx31ads/mx31ads.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)board/freescale/mx31ads/mx31ads.c +0
-0@@ -36,12 +36,6 @@ int dram_init(void)return 0 ; }
board/freescale/mx31ads/mx31ads.c int dram_init(void) · line 41
Quoted 10 lines
board/freescale/mx31ads/mx31ads.c +0
-6-void dram_init_banksize (void ) -{ - gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_1_SIZE ; -} -int board_early_init_f (void ) {int i;
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 2/13 mx25pdk: Remove dram_init_banksize()
In reply to Fabio EstevamQuoted 14 lines · Fabio Estevam
As only one RAM bank is used we can rely on the code from
arch/arm/lib/board.cSigned-off-by Fabio Estevam <[email protected]>--- board/freescale/mx25pdk/mx25pdk.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)board/freescale/mx25pdk/mx25pdk.c +0
-0@@ -33,12 +33,6 @@ int dram_init(void)return 0 ; }
board/freescale/mx25pdk/mx25pdk.c int dram_init(void) · line 38
Quoted 10 lines
board/freescale/mx25pdk/mx25pdk.c +0
-6-void dram_init_banksize (void ) -{ - gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_1_SIZE ; -} -int board_early_init_f (void ) {mx25_uart1_init_pins ();
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
PATCH 1/13 mx31pdk: Remove dram_init_banksize()
In reply to Fabio EstevamQuoted 14 lines · Fabio Estevam
As only one RAM bank is used we can rely on the code from
arch/arm/lib/board.cSigned-off-by Fabio Estevam <[email protected]>--- board/freescale/mx31pdk/mx31pdk.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)board/freescale/mx31pdk/mx31pdk.c +0
-0@@ -47,12 +47,6 @@ int dram_init(void)return 0 ; }
board/freescale/mx31pdk/mx31pdk.c int dram_init(void) · line 52
Quoted 10 lines
board/freescale/mx31pdk/mx31pdk.c +0
-6-void dram_init_banksize (void ) -{ - gd->bd->bi_dram[0 ].start =PHYS_SDRAM_1 ; - gd->bd->bi_dram[0 ].size =PHYS_SDRAM_1_SIZE ; -} -int board_early_init_f (void ) {/* CS5: CPLD incl. network controller */
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================