public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Becky Bruce <beckyb@kernel.crashing.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/2] powerpc/mpc86xx: Fix BAT register setup
Date: Mon, 3 Oct 2011 19:10:49 -0500	[thread overview]
Message-ID: <13176870514162-git-send-email-beckyb@kernel.crashing.org> (raw)

This set of 2 patches fixes the BAT register setup on mpc86xx.
Currently, we overwrite a BAT register while running out of it which
is dangerous and can cause problems like the system going into the
weeds.

The first patch cleans up the SRIO config information used for setup
of the SRIO BAT registers - there were duplicate defines there.
The second changes the method used for setting up BATs to disable
translation while we do the setup.

We have tested this on mpc8641, and I believe it is safe for the other
86xx platforms like the sbc, but I'd appreciate input.

Cheers,
Becky

 arch/powerpc/cpu/mpc86xx/cpu_init.c |   28 --------
 arch/powerpc/cpu/mpc86xx/start.S    |   69 ++++++++++++++++++-
 include/configs/MPC8641HPCN.h       |  128 ++++++++++++++++++++---------------
 include/mpc86xx.h                   |    1 +
 4 files changed, 142 insertions(+), 84 deletions(-)

             reply	other threads:[~2011-10-04  0:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-04  0:10 Becky Bruce [this message]
2011-10-04  0:10 ` [U-Boot] [PATCH 1/2] powerpc/mpc8641hpcn: fix SRIO BAT config Becky Bruce
2011-10-04  0:10   ` [U-Boot] [PATCH 2/2] powerpc/mpc86xx: Disable translation for BAT setup Becky Bruce
2011-10-07 15:07     ` Kumar Gala
2011-10-07 15:06   ` [U-Boot] [PATCH 1/2] powerpc/mpc8641hpcn: fix SRIO BAT config Kumar Gala

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=13176870514162-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