]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 24 Sep 2009 17:05:00 +0000 (12:05 -0500)
commit9b3ba24f18900633a394416cc056c44a1a6eb754
treef58e3b0801f00356509af60e415df9a000411329
parentded58f4153923dfff16d2f96495bd7acf1f7e10e
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