u-boot/arch/arm/cpu/armv7/omap4
Nishanth Menon 6d8abe6a8a ARM: OMAP: Change set_pl310_ctrl_reg to be generic
set_pl310_ctrl_reg does use the Secure Monitor Call (SMC) to setup
PL310 control register, however, that is something that is generic
enough to be used for OMAP5 generation of processors as well. The only
difference being the service being invoked for the function.

So, convert the service to a macro and use a generic name (same as
that used in Linux for some consistency). While at that, also add a
data barrier which is necessary as per recommendation.

While at this, smc #0 is maintained as handcoded assembly thanks to
various gcc version eccentricities, discussion thread:
http://marc.info/?t=142542166800001&r=1&w=2

Signed-off-by: Nishanth Menon <nm@ti.com>
Tested-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2015-03-13 09:28:55 -04:00
..
config.mk kbuild: use shorten logs for mkimage rules 2014-02-25 11:01:29 -05:00
emif.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
hw_data.c ARM: OMAP4: fix DDR timings for OMAP4430 ES2.0 2014-02-21 13:55:41 -05:00
hwinit.c ARM: OMAP: Change set_pl310_ctrl_reg to be generic 2015-03-13 09:28:55 -04:00
Kconfig kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
Makefile armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
prcm-regs.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sdram_elpida.c Revert "ARM: omap4: Update sdram setting for panda rev A6" 2015-01-05 15:13:45 -05:00