Re: [U-Boot] [PATCH 03/26] ARM: cp15: setup mmu and enable dcache

2010-09-13 Thread Wolfgang Denk
Dear "V, Aneesh", In message you wrote: > > > Initially I had a "done" bit to only set up page tables > > at the beginning. However, since the aligmnent requirement > > was for the whole object file, this extra integer tool 16kB > > in BSS, so I chose to remove it. > > This is rather strange.

Re: [U-Boot] [PATCH 03/26] ARM: cp15: setup mmu and enable dcache

2010-09-13 Thread V, Aneesh
Hello Heiko, > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of Heiko Schocher > Sent: Wednesday, August 11, 2010 11:46 PM > To: U-Boot user list > Cc: Alessandro Rubini > Subject: [U-Boot] [PATCH 03/26] ARM: cp15: setup mmu and

Re: [U-Boot] [PATCH 03/26] ARM: cp15: setup mmu and enable dcache

2010-09-01 Thread V, Aneesh
Hello Heiko, > -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Wednesday, September 01, 2010 4:56 PM > To: V, Aneesh > Cc: U-Boot user list; Alessandro Rubini > Subject: Re: [U-Boot] [PATCH 03/26] ARM: cp15: setup mmu and enable > dcache

Re: [U-Boot] [PATCH 03/26] ARM: cp15: setup mmu and enable dcache

2010-09-01 Thread Heiko Schocher
Hello V, Aneesh, V, Aneesh wrote: > Hello Heiko Schocher, > >> boun...@lists.denx.de] On Behalf Of Heiko Schocher >> +static inline void mmu_setup(void) >> +{ >> +static u32 __attribute__((aligned(16384))) page_table[4096]; >> +bd_t *bd = gd->bd; >> +int i, j; >> +u32 reg; >> + >>

Re: [U-Boot] [PATCH 03/26] ARM: cp15: setup mmu and enable dcache

2010-09-01 Thread V, Aneesh
Hello Heiko Schocher, > boun...@lists.denx.de] On Behalf Of Heiko Schocher > +static inline void mmu_setup(void) > +{ > + static u32 __attribute__((aligned(16384))) page_table[4096]; > + bd_t *bd = gd->bd; > + int i, j; > + u32 reg; > + > + /* Set up an identity-mapping for all