u-boot/include/asm-arm
Tom Rix 7a2aa8b681 OMAP3 Move cache routine to cache.S
v7_flush_dcache_all, because it depends on omap ROM code is not
generic.  Rename the function to 'invalidate_dcache' and move it
to the omap cpu directory.

Collect the other omap cache routines l2_cache_enable and
l2_cache_disable with invalide_dcache into cache.S.  This
means removing the old cache.c file that contained l2_cache_enable
and l2_cache_disable.

The conversion from cache.c to cache.S was done most through
disassembling the uboot binary.  The only significant change was
to change the comparision for the return of get_cpu_rev from

   cmp	r0, #0
   beq	earlier_than_label

Which was lost information to

   cmp	r0, #CPU_3XX_ES20
   blt	earlier_than_label

The paths through the enable routine were verified by
adding an infinite loop and seeing the hang.  Then
removing the infinite loop and seeing it continue.

The disable routine is similar enough that it was not
tested with this method.

Run tested by cold booting from nand on beagle and zoom1.
Compile tested on MAKEALL arm.

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
2009-10-13 06:17:33 -05:00
..
arch-arm720t s3c4510b: move specific code to soc directory 2009-03-29 23:01:36 +02:00
arch-arm925t Patches by Kshitij, 04 Jul 2003 2003-07-15 20:04:06 +00:00
arch-arm926ejs * Patch by George G. Davis, 19 Aug 2003: 2003-08-29 22:00:43 +00:00
arch-at91 at91: Introduction of at91sam9g10 SOC. 2009-07-12 17:56:11 +02:00
arch-at91rm9200 at91rm9200: move define from lowlevel_init to header 2009-01-06 21:41:59 +01:00
arch-davinci NAND: DaVinci: V2 Adding 4 BIT ECC support 2009-08-26 15:37:03 -05:00
arch-imx arm-imx: Fix register definitions 2008-03-02 21:15:06 +01:00
arch-ixp Big white-space cleanup. 2008-05-21 00:14:08 +02:00
arch-kirkwood arm: Kirkwood: add SYSRSTn Duration Counter Support 2009-09-01 22:34:03 +02:00
arch-ks8695 * Patch by Greg Ungerer, 19 May 2005: 2005-05-19 22:39:42 +00:00
arch-lpc2292 Eliminated arch-specific mmc header requirement 2009-02-16 18:07:41 -06:00
arch-mx27 imx27lite: add support for imx27lite board from LogicPD 2009-09-01 22:10:55 +02:00
arch-mx31 MX31: Add NAND SPL boot support to i.MX31 PDK board. 2009-07-06 21:53:18 +02:00
arch-nomadik arm nomadik: add gpio support 2009-07-29 09:57:46 +02:00
arch-omap Update omap5912osk board support 2006-05-10 10:55:16 +02:00
arch-omap3 OMAP3 Move cache routine to cache.S 2009-10-13 06:17:33 -05:00
arch-omap24xx OMAP I2C Fix the sampling clock. 2009-07-28 08:52:33 +02:00
arch-pxa Monahans: avoid floating point calculations 2009-08-17 23:53:41 +02:00
arch-s3c24x0 Fix e-mail address of Gary Jennejohn. 2009-05-15 22:11:59 +02:00
arch-s3c44b0 * Patch by Andrea Scian, 17 Feb 2004: 2004-02-24 00:16:43 +00:00
arch-s3c64xx ARM: Add arm1176 core with S3C6400 SoC 2008-08-31 00:39:46 +02:00
arch-s3c4510b s3c4510b: move specific code to soc directory 2009-03-29 23:01:36 +02:00
arch-sa1100 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
proc-armv Remove duplicate set_cr 2009-09-01 22:08:46 +02:00
atomic.h * Header file cleanup for ARM 2003-06-25 22:26:29 +00:00
bitops.h Correct ffs/fls regression for PowerPC etc 2009-09-17 22:45:31 +02:00
byteorder.h * Code cleanup: 2003-06-27 21:31:46 +00:00
cache.h move L2 cache enable/disable function to cache.c in the omap3 SoC directory 2009-07-06 21:52:25 +02:00
config.h arm/microblaze/nios/nios2/sh: Remove relocation fixups 2009-10-03 10:17:57 +02:00
dma-mapping.h Fix @ -> <at> substitution 2008-05-10 00:30:22 +02:00
errno.h asm-generic: Consolidate errno.h to asm-generic/errno.h 2009-07-09 14:07:11 +02:00
global_data.h arm/microblaze/nios/nios2/sh: Remove relocation fixups 2009-10-03 10:17:57 +02:00
hardware.h * Header file cleanup for ARM 2003-06-25 22:26:29 +00:00
io.h Introduce virt_to_phys() 2008-12-15 22:04:29 +01:00
mach-types.h ARM: Update mach-types 2009-09-04 23:20:29 +02:00
macro.h ARM: Add macros.h to be used in assembler file. 2009-06-21 16:18:12 +02:00
memory.h * Header file cleanup for ARM 2003-06-25 22:26:29 +00:00
posix_types.h Initial revision 2002-08-14 13:28:45 +00:00
processor.h * Header file cleanup for ARM 2003-06-25 22:26:29 +00:00
ptrace.h * Code cleanup: 2003-06-27 21:31:46 +00:00
setup.h * Code cleanup: 2003-06-27 21:31:46 +00:00
sizes.h * Header file cleanup for ARM 2003-06-25 22:26:29 +00:00
string.h * Patch by Daniel Engström, 18 Nov 2002: 2002-11-19 23:01:07 +00:00
system.h arm: update co-processor 15 access 2009-04-05 13:02:43 +02:00
types.h Introduce phys_size_t and move phys_addr_t into asm/types.h 2008-04-13 17:13:46 -07:00
u-boot-arm.h arch_misc_init support for ARM architectures 2009-06-12 20:45:46 +02:00
u-boot.h remove bi_enet*addr from global data for all arches 2009-03-20 22:39:12 +01:00
unaligned.h Add unaligned.h for arm 2009-07-19 11:56:34 +02:00