u-boot-brain/arch/arm
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
..
cpu ARMV7: OMAP3: Fix and clean up L2 cache enable/disable functions 2010-09-08 14:51:04 -04:00
include/asm ARMV7: OMAP3: Add clock setup for OMAP36XX/37XX 2010-09-08 14:50:58 -04:00
lib Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
config.mk Move lib_$ARCH directories to arch/$ARCH/lib 2010-04-13 09:13:03 +02:00