This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
StrongARM include file addition
- From: "Schumacher, Gordon" <gordon_schumacher at maxtor dot com>
- To: "'ecos-patches at sources dot redhat dot com'" <ecos-patches at sources dot redhat dot com>
- Date: Fri, 25 Oct 2002 14:23:09 -0600
- Subject: StrongARM include file addition
While trying to bring up our platform, I found that the HAL definition file
for the StrongARM SA1100 was missing the memory addresses for the SRAM
banks. Our board has no DRAM - only a single SRAM bank (it's a pretty
minimal system.)
So, the following seemed in order:
*** hal_sa11x0.h.orig Thu May 23 17:02:28 2002
--- hal_sa11x0.h Fri Oct 25 14:05:03 2002
***************
*** 82,87 ****
--- 82,90 ----
#define SA11X0_ROM_BANK1_BASE (SA11X0_ROM_BANK0_BASE +
SZ_128M)
#define SA11X0_ROM_BANK2_BASE (SA11X0_ROM_BANK1_BASE +
SZ_128M)
#define SA11X0_ROM_BANK3_BASE (SA11X0_ROM_BANK2_BASE +
SZ_128M)
+
+ #define SA11X0_SRAM_BANK0_BASE (0x40000000)
+ #define SA11X0_SRAM_BANK1_BASE (SA11X0_SRAM_BANK0_BASE +
SZ_128M)
#define SA11X0_RAM_BANK0_BASE (0xC0000000)
#define SA11X0_RAM_BANK1_BASE (SA11X0_RAM_BANK0_BASE +
SZ_128M)