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]

Woops.


So much for my first patch... :-S

The thing that I'm using as SRAM is actually in what eCos is calling "ROM"
space.  (Per the SA-1100 docs, it's for any ROM, Flash, or SRAM.)

But, it was still missing banks 4 and 5, so here's a better patch...

*** hal_sa11x0.h.bak	Fri Oct 25 18:33:26 2002
--- hal_sa11x0.h	Fri Oct 25 18:33:28 2002
***************
*** 82,87 ****
--- 82,89 ----
  #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_ROM_BANK4_BASE                    (0x40000000)
+ #define SA11X0_ROM_BANK5_BASE                    (SA11X0_ROM_BANK4_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]