u-boot-brain/include/asm-arm/arch-omap3
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
..
clocks_omap3.h OMAP3: Add pin mux, clock and cpu headers 2009-01-24 17:51:20 +01:00
clocks.h OMAP3: Add OMAP3, memory and function prototype headers 2009-01-24 17:51:20 +01:00
cpu.h omap3: Fixed a problem with hwecc 2009-08-18 13:51:30 +02:00
gpio.h OMAP3 Port kernel omap gpio interface. 2009-06-12 20:39:50 +02:00
i2c.h OMAP I2C Fix the sampling clock. 2009-07-28 08:52:33 +02:00
mem.h omap3: remove typedefs for configuration structs 2009-08-08 11:33:23 +02:00
mmc_host_def.h OMAP3: Clean up MMC code 2009-02-22 18:29:10 +01:00
mmc.h OMAP3: Add MMC support 2009-01-24 17:51:22 +01:00
mux.h OMAP3: Add pin mux, clock and cpu headers 2009-01-24 17:51:20 +01:00
omap3.h OMAP3 Move cache routine to cache.S 2009-10-13 06:17:33 -05:00
omap_gpmc.h Coding style cleanup; update CHANGELOG 2009-02-12 00:08:39 +01:00
sys_proto.h OMAP3 Move cache routine to cache.S 2009-10-13 06:17:33 -05:00