sbc8548: enable access to second bank of flash
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 18 Sep 2009 23:08:41 +0000 (19:08 -0400)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:36 +0000 (09:04 -0500)
commit124b0214a17ea0b0d3f2c660b0dcc54367aecef3
treeb1ea39e94c84e32eb560b8b0c96e63bc0f0ed03c
parent9b5cee4344ebec01d989aa4c43cae5a6da1546ab
sbc8548: enable access to second bank of flash

The sbc8548 has a 64MB SODIMM flash module off of CS6 that
previously wasn't enumerated by u-boot.  There were already
BR6/OR6 settings for it [used by cpu_init_f()] but there
was no TLB entry and it wasn't in the list of flash banks
reported to u-boot.

The location of the 64MB flash is "pulled back" 8MB from
a 64MB boundary, in order to allow address space for the
8MB boot flash that is at the end of 32 bit address space.
This means creating two 4MB TLB entries for the 8MB chunk,
and then expanding the original boot flash entry to 64MB
in order to cover the 8MB boot flash and the remainder
(56MB) of the user flash.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/sbc8548/tlb.c
include/configs/sbc8548.h