diff options
author | Stefan Roese <sr@denx.de> | 2010-05-27 16:45:20 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-07-01 10:26:25 +0200 |
commit | 4978e6058440b6dc8f8f7498288c06291ba54b13 (patch) | |
tree | 02fe6d3714c93750d28cc51afbd9a45d7104a414 /board/sandpoint | |
parent | 2909ac03f4125c25903c2ac69a6ef0f6e807a53d (diff) | |
download | u-boot-imx-4978e6058440b6dc8f8f7498288c06291ba54b13.zip u-boot-imx-4978e6058440b6dc8f8f7498288c06291ba54b13.tar.gz u-boot-imx-4978e6058440b6dc8f8f7498288c06291ba54b13.tar.bz2 |
ppc4xx: Cleanup Boot/FLASH TLB reassignment for PPC440/460
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.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/sandpoint')
0 files changed, 0 insertions, 0 deletions