eb_cpux9k2: add ram target configuration
PATCH 1/1 eb_cpux9k2: add ram target configuration
* add ram target for EB+CPUx9k2 board (eb_cpux9k2_ram_config)
--- boards.cfg | 3 ++- include/configs/eb_cpux9k2.h | 5 +++++ 2 files changed, 7 insertions(+), 1 deletions(-)
boards.cfg +2 -1
@@ -54,7 +54,8 @@ integratorcp_cm920t arm arm920t integrator armltd a320evb arm arm920t - faraday a320 at91rm9200ek arm arm920t at91rm9200ek atmel at91 at91rm9200ek at91rm9200ek_ram arm arm920t at91rm9200ek atmel at91 at91rm9200ek:RAMBOOT -eb_cpux9k2 arm arm920t - BuS at91 +eb_cpux9k2 arm arm920t eb_cpux9k2 BuS at91 eb_cpux9k2 +eb_cpux9k2_ram arm arm920t eb_cpux9k2 BuS at91 eb_cpux9k2:RAMBOOT cpuat91 arm arm920t cpuat91 eukrea at91 cpuat91 cpuat91_ram arm arm920t cpuat91 eukrea at91 cpuat91:RAMBOOT mx1ads arm arm920t - - imx
include/configs/eb_cpux9k2.h +5 -0
@@ -44,7 +44,12 @@#define MACH_TYPE_EB_CPUX9K2 1977#define CONFIG_MACH_TYPE MACH_TYPE_EB_CPUX9K2/*--------------------------------------------------------------------------*/ +#ifndef CONFIG_RAMBOOT #define CONFIG_SYS_TEXT_BASE 0x00000000 +#else +#define CONFIG_SKIP_LOWLEVEL_INIT +#define CONFIG_SYS_TEXT_BASE 0x21f00000 +#endif #define CONFIG_SYS_LOAD_ADDR 0x21000000/* default load address */ #define CONFIG_SYS_BOOT_SIZE 0x00/* 0 KBytes */
Signature · 1 line
1.7.7
PATCH 1/1 eb_cpux9k2: add ram target configuration
Dear Andreas Bie?mann,
Please could you also apply this open patch.
I've just tested this against the current atmel and master tree.
Thanks
best regards
Jens Scharsig
Am 2012-04-29 20:01, schrieb Jens Scharsig:
Quoted 40 lines
* add ram target for EB+CPUx9k2 board (
eb_cpux9k2_ram_config)Signed-off-by Jens Scharsig <[email protected]>--- boards.cfg | 3 ++- include/configs/eb_cpux9k2.h | 5 +++++ 2 files changed, 7 insertions(+), 1 deletions(-)boards.cfg +2
-1@@ -54,7 +54,8 @@ integratorcp_cm920t arm arm920t integrator armltd a320evb arm arm920t - faraday a320 at91rm9200ek arm arm920t at91rm9200ek atmel at91 at91rm9200ek at91rm9200ek_ram arm arm920t at91rm9200ek atmel at91 at91rm9200ek:RAMBOOT -eb_cpux9k2 arm arm920t - BuS at91 +eb_cpux9k2 arm arm920t eb_cpux9k2 BuS at91 eb_cpux9k2 +eb_cpux9k2_ram arm arm920t eb_cpux9k2 BuS at91 eb_cpux9k2:RAMBOOT cpuat91 arm arm920t cpuat91 eukrea at91 cpuat91 cpuat91_ram arm arm920t cpuat91 eukrea at91 cpuat91:RAMBOOT mx1ads arm arm920t - - imxinclude/configs/eb_cpux9k2.h +5
-0@@ -44,7 +44,12 @@#define MACH_TYPE_EB_CPUX9K2 1977#define CONFIG_MACH_TYPE MACH_TYPE_EB_CPUX9K2/*--------------------------------------------------------------------------*/ +#ifndef CONFIG_RAMBOOT #define CONFIG_SYS_TEXT_BASE 0x00000000 +#else +#define CONFIG_SKIP_LOWLEVEL_INIT +#define CONFIG_SYS_TEXT_BASE 0x21f00000 +#endif #define CONFIG_SYS_LOAD_ADDR 0x21000000/* default load address */ #define CONFIG_SYS_BOOT_SIZE 0x00/* 0 KBytes */
PATCH 1/1 eb_cpux9k2: add ram target configuration
Dear Jens Scharsig,
Quoted 3 lines · Jens Scharsig
Dear Andreas Bie?mann,
Please could you also apply this open patch.
sorry, this one slipped through. Please add some at91/atmel to the subject line next time to get my attention.
Quoted 1 line
I've just tested this against the current atmel and master tree.
Ok, but this one seems to have style problems, please fix.
---8<---
WARNING: please, no space before tabs
#47: FILE: include/configs/eb_cpux9k2.h:51:
+#define CONFIG_SYS_TEXT_BASE ^I^I0x21f00000$
total: 0 errors, 1 warnings, 21 lines checked
NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE
U-Boot-eb_cpux9k2-add-ram-target-configuration.patch has style problems, please review.
--->8---
Best regards
Andreas Bie?mann
PATCH 1/1 eb_cpux9k2: add ram target configuration
Dear Andreas Bie?mann,
Quoted 5 lines
Quoted 2 lines
Please could you also apply this open patch.
sorry, this one slipped through. Please add some at91/atmel to the subject line next time to get my attention.
Blame it on myself. I forgot the arch comment in subject
Best regards
Jens Scharsig
PATCH v2 1/1 atmel: eb_cpux9k2: add ram target configuration
In reply to Jens ScharsigFrom: Jens Scharsig <[email protected]>
* add ram target for EB+CPUx9k2 board (eb_cpux9k2_ram_config)
---
fix code styling
boards.cfg | 3 ++- include/configs/eb_cpux9k2.h | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-)
boards.cfg +2 -1
@@ -60,7 +60,8 @@ integratorcp_cm920t arm arm920t integrator armltd a320evb arm arm920t - faraday a320 at91rm9200ek arm arm920t at91rm9200ek atmel at91 at91rm9200ek at91rm9200ek_ram arm arm920t at91rm9200ek atmel at91 at91rm9200ek:RAMBOOT -eb_cpux9k2 arm arm920t - BuS at91 +eb_cpux9k2 arm arm920t eb_cpux9k2 BuS at91 eb_cpux9k2 +eb_cpux9k2_ram arm arm920t eb_cpux9k2 BuS at91 eb_cpux9k2:RAMBOOT cpuat91 arm arm920t cpuat91 eukrea at91 cpuat91 cpuat91_ram arm arm920t cpuat91 eukrea at91 cpuat91:RAMBOOT mx1ads arm arm920t - - imx
include/configs/eb_cpux9k2.h +6 -1
@@ -44,7 +44,12 @@#define MACH_TYPE_EB_CPUX9K2 1977#define CONFIG_MACH_TYPE MACH_TYPE_EB_CPUX9K2/*--------------------------------------------------------------------------*/ -#define CONFIG_SYS_TEXT_BASE 0x00000000 +#ifndef CONFIG_RAMBOOT +#define CONFIG_SYS_TEXT_BASE 0x00000000 +#else +#define CONFIG_SKIP_LOWLEVEL_INIT +#define CONFIG_SYS_TEXT_BASE 0x21f00000 +#endif #define CONFIG_SYS_LOAD_ADDR 0x21000000/* default load address */ #define CONFIG_SYS_BOOT_SIZE 0x00/* 0 KBytes */
Signature · 1 line
1.7.3.4
PATCH v2 1/1 atmel: eb_cpux9k2: add ram target configuration
Dear Jens Scharsig,
Quoted 7 lines · Jens Scharsig (BuS Elektronik)
From: Jens Scharsig <[email protected]>
* add ram target for EB+CPUx9k2 board (
eb_cpux9k2_ram_config)Signed-off-by Jens Scharsig <[email protected]>Signed-off-by Jens Scharsig (BuS Elektronik) <[email protected]>---
applied to u-boot-atmel/master, thnaks!
Best regards
Andreas Bie?mann