Re: [U-Boot] PATCH: bugfix for reading maximum TLB size on mpc85xx

2009-06-02 Thread Andy Fleming
On Thu, May 14, 2009 at 1:08 PM, Kumar Gala wrote: > > On May 14, 2009, at 12:38 PM, Fredrik Arnerup wrote: > > > The MAXSIZE field in the TLB1CFG register is 4 bits, not 8 bits. > > This made setup_ddr_tlbs() try to set up a TLB larger than the e500 > > maximum > > (256 MB) > > which made u-boot

Re: [U-Boot] PATCH: bugfix for reading maximum TLB size on mpc85xx

2009-05-14 Thread Kumar Gala
On May 14, 2009, at 12:38 PM, Fredrik Arnerup wrote: > The MAXSIZE field in the TLB1CFG register is 4 bits, not 8 bits. > This made setup_ddr_tlbs() try to set up a TLB larger than the e500 > maximum > (256 MB) > which made u-boot hang in board_init_f() when trying to create a new > stack > i

[U-Boot] PATCH: bugfix for reading maximum TLB size on mpc85xx

2009-05-14 Thread Fredrik Arnerup
The MAXSIZE field in the TLB1CFG register is 4 bits, not 8 bits. This made setup_ddr_tlbs() try to set up a TLB larger than the e500 maximum (256 MB) which made u-boot hang in board_init_f() when trying to create a new stack in RAM. I have an mpc8540 with one 1GB dimm. Signed-off-by: Fredrik Arner