u-boot/arch/arm/include/asm/arch-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
..
clock.h ARM: OMAP4470: Add voltage and dpll data 2013-08-28 11:44:58 -04:00
cpu.h ARM: omap4: add platform specific info for GPMC and ELM controllers 2014-05-23 16:12:02 -04:00
ehci.h ehci-omap: Clean up added ehci-omap.c 2012-02-12 10:11:31 +01:00
gpio.h SPDX-License-Identifier: fixing some problematic GPL-2.0 files 2013-08-19 15:34:13 -04:00
hardware.h ARM: omap4: add platform specific info for GPMC and ELM controllers 2014-05-23 16:12:02 -04:00
i2c.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mem.h ARM: omap4: add platform specific info for GPMC and ELM controllers 2014-05-23 16:12:02 -04:00
mmc_host_def.h omap: consolidate common mmc definitions 2013-03-08 16:41:12 -05:00
mux_omap4.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
omap.h ARM: omap4: add platform specific info for GPMC and ELM controllers 2014-05-23 16:12:02 -04:00
spl.h spl: Fix guardian macros in spl.h 2014-03-28 15:06:30 -04:00
sys_proto.h ARM: OMAP: Change set_pl310_ctrl_reg to be generic 2015-03-13 09:28:55 -04:00