u-boot/arch/arm/cpu
Mans Rullgard 2984470746 ARMV7: OMAP3: Fix and clean up L2 cache enable/disable functions
On OMAP34xx ES1.0, the L2 enable bit can only be set in secure mode,
so an SMC call to the ROM monitor is required.  On later versions,
and on newer devices, this bit is banked and we can set it directly.

The code checked only the ES revision of the chip, and hence incorrectly
used the ROM call on ES1.0 versions of other devices.

This patch adds a check for chip family as well as revision, and also
removes some code duplication between the enable and disable functions.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-09-08 14:51:04 -04:00
..
arm720t ARM: Align stack to 8 bytes 2010-06-22 22:15:07 +02:00
arm920t miiphy: constify device name 2010-08-09 11:52:29 -07:00
arm925t ARM: Align stack to 8 bytes 2010-06-22 22:15:07 +02:00
arm926ejs orion5x: allow overriding default mappings windows 2010-08-10 22:44:12 +02:00
arm946es ARM: Align stack to 8 bytes 2010-06-22 22:15:07 +02:00
arm1136 ARM: Align stack to 8 bytes 2010-06-22 22:15:07 +02:00
arm1176 ARM: Align stack to 8 bytes 2010-06-22 22:15:07 +02:00
arm_intcm ARM: Align stack to 8 bytes 2010-06-22 22:15:07 +02:00
armv7 ARMV7: OMAP3: Fix and clean up L2 cache enable/disable functions 2010-09-08 14:51:04 -04:00
ixp miiphy: constify device name 2010-08-09 11:52:29 -07:00
lh7a40x ARM: Align stack to 8 bytes 2010-06-22 22:15:07 +02:00
pxa PXA: Add support for LMS285GF05 into pxafb 2010-07-14 23:25:22 +02:00
s3c44b0 ARM: Align stack to 8 bytes 2010-06-22 22:15:07 +02:00
sa1100 ARM: Align stack to 8 bytes 2010-06-22 22:15:07 +02:00