u-boot-brain/arch/arm/cpu/armv7
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
..
mx51 MX51EVK: fix return value of get_timer_masked 2010-08-10 09:46:44 +02:00
omap3 ARMV7: OMAP3: Fix and clean up L2 cache enable/disable functions 2010-09-08 14:51:04 -04:00
omap4 ARMV7: Add pad mux support for OMAP4 2010-08-05 10:11:14 -04:00
omap-common ARMV7: OMAP: Move syslib.c to omap-common since it can be shared by OMAP3 and OMAP4 2010-09-08 14:50:17 -04:00
s5pc1xx ARM: Rename arch/arm/cpu/arm_cortexa8 to armv7 2010-07-05 19:59:55 -04:00
config.mk ARM: Rename arch/arm/cpu/arm_cortexa8 to armv7 2010-07-05 19:59:55 -04:00
cpu.c ARM: Rename arch/arm/cpu/arm_cortexa8 to armv7 2010-07-05 19:59:55 -04:00
Makefile ARM: Rename arch/arm/cpu/arm_cortexa8 to armv7 2010-07-05 19:59:55 -04:00
start.S ARM: Rename arch/arm/cpu/arm_cortexa8 to armv7 2010-07-05 19:59:55 -04:00
u-boot.lds ARM: Rename arch/arm/cpu/arm_cortexa8 to armv7 2010-07-05 19:59:55 -04:00