From: Jens Scharsig Date: Mon, 3 Sep 2012 13:02:39 +0200 Subject: [U-Boot] [PATCH] eb_cpux9k2: add ram target configuration In-Reply-To: <1335722507-14664-1-git-send-email-js_at_ng@scharsoft.de> References: <1335722507-14664-1-git-send-email-js_at_ng@scharsoft.de> Message-ID: <50448E4F.7020302@bus-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: > * add ram target for EB+CPUx9k2 board (eb_cpux9k2_ram_config) > > Signed-off-by: Jens Scharsig > --- > boards.cfg | 3 ++- > include/configs/eb_cpux9k2.h | 5 +++++ > 2 files changed, 7 insertions(+), 1 deletions(-) > > diff --git a/boards.cfg b/boards.cfg > index 3cf75c3..efca4fc 100644 > --- a/boards.cfg > +++ b/boards.cfg > @@ -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 > diff --git a/include/configs/eb_cpux9k2.h b/include/configs/eb_cpux9k2.h > index eb05e2a..d7b6b57 100644 > --- a/include/configs/eb_cpux9k2.h > +++ b/include/configs/eb_cpux9k2.h > @@ -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 */ >