u-boot-brain/arch/arm
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
..
cpu ARM: OMAP: Change set_pl310_ctrl_reg to be generic 2015-03-13 09:28:55 -04:00
dts Merge branch 'master' of git://git.denx.de/u-boot-tegra 2015-03-10 19:09:18 -04:00
imx-common imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
include ARM: OMAP: Change set_pl310_ctrl_reg to be generic 2015-03-13 09:28:55 -04:00
lib Merge branch 'master' of git://git.denx.de/u-boot-tegra 2015-03-10 19:09:18 -04:00
mach-at91 ARM: at91: move SoC headers to mach-at91/include/mach 2015-02-21 08:23:52 -05:00
mach-davinci ARM: davinci: remove hawkboard support 2015-02-24 17:07:29 -05:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-keystone ARM: keystone: move SoC headers to mach-keystone/include/mach 2015-02-21 08:23:52 -05:00
mach-kirkwood ARM: kirkwood: move SoC headers to mach-kirkwood/include/mach 2015-02-21 08:23:52 -05:00
mach-nomadik ARM: nomadik: move SoC headers to mach-nomadik/include/mach 2015-02-21 08:23:52 -05:00
mach-orion5x edminiv2: switch to SPL 2015-02-25 07:59:50 +01:00
mach-tegra Merge branch 'master' of git://git.denx.de/u-boot-tegra 2015-03-10 19:09:18 -04:00
mach-uniphier ARM: UniPhier: remove SSC_WAY_SIZE and SSC_NUM_ENTRIES macros 2015-03-01 00:03:21 +09:00
mach-versatile ARM: versatile: move SoC sources to mach-versatile 2015-02-21 08:23:51 -05:00
mvebu-common arm: mvebu: Add Serdes PHY config code 2015-02-06 17:24:59 +01:00
config.mk arm: build arch memset/memcpy in Thumb2 mode 2015-01-09 10:20:22 -05:00
Kconfig armv8/vexpress64: make multientry conditional 2015-03-09 11:13:29 -04:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile ARM: UniPhier: move SoC sources to mach-uniphier 2015-03-01 00:01:56 +09:00