All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ppc4xx: Cleanup Boot/FLASH TLB reassignment for PPC440/460
Date: Thu, 1 Jul 2010 10:29:51 +0200	[thread overview]
Message-ID: <201007011029.51375.sr@denx.de> (raw)
In-Reply-To: <1276162086-13968-1-git-send-email-sr@denx.de>

On Thursday 10 June 2010 11:28:06 Stefan Roese wrote:
> Background Info:
> Some PPC440/460 boards have caches enabled in the Boot/FLASH TLB (via
> init.S) to speed up the boot process. In relocate_code (start.S) the
> cache inhibit attribute for this TLB is set to disable cache. This is
> needed for the CFI FLASH driver.
> 
> This patch now cleans this code up:
> - CONFIG_SYS_TLB_FOR_BOOT_FLASH is defined to 0 (default TLB) if not
>   defined in the top of this file. This way, we can remove an ugly
>   #ifdef in this code.
> - Replace complex "#if defined(CONFIG_440EP) || defined(CONFIG_GR)..."
>   statement with "#if defined(CONFIG_440)".
> - Remove unnecessary cache invalidate calls resulting in faster bootup.

Applied to u-boot-ppc4xx/master. Thanks.
 
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

      reply	other threads:[~2010-07-01  8:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10  9:28 [U-Boot] [PATCH] ppc4xx: Cleanup Boot/FLASH TLB reassignment for PPC440/460 Stefan Roese
2010-07-01  8:29 ` Stefan Roese [this message]

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=201007011029.51375.sr@denx.de \
    --to=sr@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.