From: Kumar Gala Date: Sat, 19 Sep 2009 12:11:40 -0500 Subject: [U-Boot] [PATCH 3/8] sbc8548: enable access to second bank of flash In-Reply-To: <918ca661b391ce156f39e6c8a086ea93d845caea.1253315004.git.paul.gortmaker@windriver.com> References: <1253315326-16961-1-git-send-email-paul.gortmaker@windriver.com> <918ca661b391ce156f39e6c8a086ea93d845caea.1253315004.git.paul.gortmaker@windriver.com> Message-ID: <47177DAB-3638-4978-BD72-78629ADCD9EA@kernel.crashing.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sep 18, 2009, at 6:08 PM, Paul Gortmaker wrote: > 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 > --- > board/sbc8548/tlb.c | 26 ++++++++++++++++++++++---- > include/configs/sbc8548.h | 7 ++++--- > 2 files changed, 26 insertions(+), 7 deletions(-) applied to 85xx. - k