This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]