[U-Boot-Users] [PATCH 5/5][RESEND] CSB 637 board support

Hi,
the attached patch adds support for the Cogent csb637 board.
Patch gzip'ed due to size.
Cheers Anders
Signed-off-by: Anders Larsen alarsen@rea.de
CHANGELOG: Patch by Anders Larsen alarsen@rea.de, 2005-04-29 Add support for the Cogent csb637 board
---
MAKEALL | 10 Makefile | 3 README | 15 board/csb637/Makefile | 46 + board/csb637/config.mk | 1 board/csb637/csb637.c | 83 + board/csb637/u-boot.lds | 56 + cpu/arm920t/at91rm9200/Makefile | 2 cpu/arm920t/at91rm9200/bcm5221.c | 232 ++++ include/asm-arm/mach-types.h | 2319 +++++++++++++++++++++++++++++++++++++- include/bcm5221.h | 104 ++ include/configs/csb637.h | 235 ++++ 12 files changed, 3058 insertions(+), 48 deletions(-)

In message 1124875473l.27954l.7l@ecxwww1.reanet.de you wrote:
CHANGELOG: Patch by Anders Larsen alarsen@rea.de, 2005-04-29 Add support for the Cogent csb637 board
Previously checked in, please verify.
Best regards,
Wolfgang Denk

Wolfgang Denk wd@denx.de schreibt:
Previously checked in, please verify.
Hi Wolfgang,
the updated (unapplied) patch from 2005-08-24 sets the machine-id correctly (the original version erroneously used the id of the at91rm9200dk board).
Hoping that the stoopid MUA I'm forced to use doesn't treat it too badly:
Cheers Anders
Signed-off-by: Anders Larsen alarsen@rea.de
CHANGELOG: Patch by Anders Larsen alarsen@rea.de, 2005-10-05 Fix the machine-id of the Cogent csb637 board
---
README | 14 +++++++------- board/csb637/csb637.c | 4 ++-- include/configs/csb637.h | 3 ++- 3 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/README b/README --- a/README +++ b/README @@ -303,13 +303,13 @@ The following options need to be configu -----------------
CONFIG_ARMADILLO, CONFIG_AT91RM9200DK, CONFIG_CERF250, - CONFIG_DNP1110, CONFIG_EP7312, CONFIG_H2_OMAP1610, - CONFIG_HHP_CRADLE, CONFIG_IMPA7, CONFIG_INNOVATOROMAP1510, - CONFIG_INNOVATOROMAP1610, CONFIG_KB9202, CONFIG_LART, - CONFIG_LPD7A400, CONFIG_LUBBOCK, CONFIG_OSK_OMAP5912, - CONFIG_OMAP2420H4, CONFIG_SHANNON, CONFIG_P2_OMAP730, - CONFIG_SMDK2400, CONFIG_SMDK2410, CONFIG_TRAB, - CONFIG_VCMA9 + CONFIG_CSB637, CONFIG_DNP1110, CONFIG_EP7312, + CONFIG_H2_OMAP1610, CONFIG_HHP_CRADLE, CONFIG_IMPA7, + CONFIG_INNOVATOROMAP1510, CONFIG_INNOVATOROMAP1610, CONFIG_KB9202, + CONFIG_LART, CONFIG_LPD7A400, CONFIG_LUBBOCK, + CONFIG_OSK_OMAP5912, CONFIG_OMAP2420H4, CONFIG_SHANNON, + CONFIG_P2_OMAP730, CONFIG_SMDK2400, CONFIG_SMDK2410, + CONFIG_TRAB, CONFIG_VCMA9
MicroBlaze based boards: ------------------------ diff --git a/board/csb637/csb637.c b/board/csb637/csb637.c --- a/board/csb637/csb637.c +++ b/board/csb637/csb637.c @@ -41,8 +41,8 @@ int board_init (void) /* memory and cpu-speed are setup before relocation */ /* so we do _nothing_ here */
- /* arch number of AT91RM9200DK-Board */ - gd->bd->bi_arch_number = MACH_TYPE_AT91RM9200; + /* arch number of CSB637-Board */ + gd->bd->bi_arch_number = MACH_TYPE_CSB637; /* adress of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
diff --git a/include/configs/csb637.h b/include/configs/csb637.h --- a/include/configs/csb637.h +++ b/include/configs/csb637.h @@ -34,6 +34,7 @@
#define CONFIG_ARM920T 1 /* This is an ARM920T Core */ #define CONFIG_AT91RM9200 1 /* It's an Atmel AT91RM9200 SoC */ +#define CONFIG_CSB637 1 /* on a CSB637 board */ #undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */ #define USE_920T_MMU 1
@@ -78,7 +79,7 @@ #define CFG_MALLOC_LEN (CFG_ENV_SIZE + 128*1024) #define CFG_GBL_DATA_SIZE 128 /* size in bytes reserved for initial data */
-#define CONFIG_BAUDRATE 38400 +#define CONFIG_BAUDRATE 115200
#define CFG_AT91C_BRGR_DIVISOR 75 /* hardcode so no __divsi3 : AT91C_MASTER_CLOCK / baudrate / 16 */

In message fc.004c4e480038a3863b9aca0031cd2b7c.38a393@rea.de you wrote:
CHANGELOG: Patch by Anders Larsen alarsen@rea.de, 2005-10-05 Fix the machine-id of the Cogent csb637 board
Checked in, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Anders Larsen
-
Wolfgang Denk