u-boot/arch
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
..
arm ARMV7: OMAP3: Fix and clean up L2 cache enable/disable functions 2010-09-08 14:51:04 -04:00
avr32 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
blackfin Blackfin: re-use board data in cpu banner 2010-08-11 11:29:19 -04:00
i386 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
m68k miiphy: constify device name 2010-08-09 11:52:29 -07:00
microblaze Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mips miiphy: constify device name 2010-08-09 11:52:29 -07:00
nios2 nios2: fix out of reach case for do_reset 2010-08-19 22:15:49 -04:00
powerpc Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx 2010-09-07 21:52:29 +02:00
sh Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
sparc Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00