From: Becky Bruce <beckyb@kernel.crashing.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/2] Fix TQM8560 DDR boot issue
Date: Mon, 18 Jul 2011 18:49:14 -0500 [thread overview]
Message-ID: <13110329563254-git-send-email-beckyb@kernel.crashing.org> (raw)
Series to fix the TQM85xx issue reported by Wolfgang.... the problem
turned out to be that those boards use get_ram_size(), which requires
that a TLB entry be set up for the DDR region. My earlier patches
changed the way this was done and broke this.
I've created a new function, clear_ddr_tlbs(), so that there is now a
setup_ddr_tlbs() and a matching clear_ddr_tlbs() that boards can use
if they need to temporarily set up a TLB entry for this purpose. The
tqm85xx ddr init code now uses this and the board is able to boot.
NOTE: There was another patch in this series that changed some include
logic in the TQM85xx.h header file. I have dropped that patch as it
was screwed up and not needed.
Cheers,
Becky
arch/powerpc/cpu/mpc85xx/cpu.c | 14 +++-----------
arch/powerpc/cpu/mpc85xx/tlb.c | 29 +++++++++++++++++++++++++++++
arch/powerpc/include/asm/mmu.h | 1 +
board/tqc/tqm85xx/sdram.c | 7 +++++++
include/configs/TQM85xx.h | 6 ++++++
5 files changed, 46 insertions(+), 11 deletions(-)
next reply other threads:[~2011-07-18 23:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-18 23:49 Becky Bruce [this message]
2011-07-18 23:49 ` [U-Boot] [PATCH V2 1/2] powerpc/mpc85xx: Add clear_ddr_tlbs function Becky Bruce
2011-07-18 23:49 ` [U-Boot] [PATCH V2 2/2] board/tqm85xx: Create and tear down TLB for get_ram_size() Becky Bruce
2011-07-22 6:55 ` Kumar Gala
2011-07-25 11:12 ` Wolfgang Denk
2011-07-22 6:54 ` [U-Boot] [PATCH V2 1/2] powerpc/mpc85xx: Add clear_ddr_tlbs function Kumar Gala
2011-07-25 11:11 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=13110329563254-git-send-email-beckyb@kernel.crashing.org \
--to=beckyb@kernel.crashing.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox