u-boot-brain/arch/arm/include/asm
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
..
arch-am33xx clock_am43xx:Set the MAC clock to /5 for OPP100 2015-02-16 12:41:40 -05:00
arch-arm720t Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-armada100 ARM: remove CONFIG_ARM926EJS defines 2014-11-20 11:28:25 -05:00
arch-armada-xp arm: armada-xp: Add SPL support used to include the DDR training code 2015-02-06 17:24:56 +01:00
arch-armv7 Merge branch 'u-boot/master' into u-boot-arm/master 2013-07-25 17:57:46 +02:00
arch-bcm281xx bcm281xx: add support for "USB OTG clock" 2014-12-29 16:31:23 -05:00
arch-bcm2835 rpi: add support for Raspberry Pi 2 model B 2015-02-21 08:28:16 -05:00
arch-bcmcygnus arm: add Cygnus and NSP boards 2014-08-30 07:46:40 -04:00
arch-bcmnsp arm: add Cygnus and NSP boards 2014-08-30 07:46:40 -04:00
arch-ep93xx arm: ep9315: Return back Cirrus Logic EDB9315A board support 2014-07-04 23:45:48 +02:00
arch-exynos Exynos: Fix L2 cache timings on Exynos5420 and Exynos5800 2015-02-28 18:03:46 +09:00
arch-fsl-lsch3 armv8/fsl-lsch3: Enable erratum workround for A008514 2015-02-24 13:10:12 -08:00
arch-imx ARM: i.MX: provide access to reset cause through get_imx_reset_cause() 2015-02-17 10:42:54 +01:00
arch-lpc32xx ARM: lpc3250: config: add generic board support 2015-02-16 15:48:36 -05:00
arch-ls102xa SECURE_BOOT : enable esbc_validate command for powerpc and arm platforms. 2015-03-05 12:04:59 -08:00
arch-mvebu arm: marvell: Move arch-kirkwood/spi.h to arch-mvebu/spi.h 2014-10-23 09:59:20 -04:00
arch-mx5 mx5: fix get_reset_cause 2015-03-05 10:29:27 +01:00
arch-mx6 imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
arch-mx25 imx25: Add new hardware registers 2014-05-09 15:10:53 +02:00
arch-mx27 mx27: add missing constant for mx27 2013-09-10 19:12:55 +02:00
arch-mx31 arm: mx31: use common timer functions 2014-09-16 12:51:46 +02:00
arch-mx35 arm: mx35: use common timer functions 2014-09-16 12:53:09 +02:00
arch-mxs arm: mxs: Add 'Wait for JTAG user' if booted in JTAG mode 2015-02-10 12:48:50 +01:00
arch-omap3 omap3: add some MUX definitions for upcoming cairo 2015-01-29 12:00:50 -05:00
arch-omap4 ARM: OMAP: Change set_pl310_ctrl_reg to be generic 2015-03-13 09:28:55 -04:00
arch-omap5 ARM: OMAP5: DRA7xx: Add support for power rail grouping 2015-01-29 12:00:49 -05:00
arch-orion5x edminiv2: switch to SPL 2015-02-25 07:59:50 +01:00
arch-pxa include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
arch-rmobile arm: rmobile: alt: Add support SDHI 2015-02-25 13:13:38 +09:00
arch-s3c24x0 mtd: nand: s3c: Unify the register definition and naming 2014-11-26 23:21:43 -06:00
arch-s5pc1xx dm: exynos: gpio: Convert to driver model 2014-10-22 10:36:36 -06:00
arch-sa1100 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-socfpga socfpga: correctly increment freeze_controller_base address 2014-12-06 13:53:57 +01:00
arch-spear spear: move CONFIG_SYS_I2C_BASE from arch-spear/hardware to board configs 2014-02-20 06:49:02 +01:00
arch-stv0991 stv0991: enable ethernet support 2014-12-09 15:16:19 -05:00
arch-sunxi sunxi: Fix sun5i mbus speed when booting old kernels 2015-02-21 16:53:37 +01:00
arch-tegra ARM: tegra: pinmux: support Tegra210's e_io_hv pin option 2015-03-04 10:09:01 -07:00
arch-tegra20 ARM: tegra: pinmux: account for different drivegroup base registers 2015-03-04 10:09:01 -07:00
arch-tegra30 ARM: tegra: pinmux: account for different drivegroup base registers 2015-03-04 10:09:01 -07:00
arch-tegra114 ARM: tegra: pinmux: account for different drivegroup base registers 2015-03-04 10:09:01 -07:00
arch-tegra124 ARM: tegra: pinmux: account for different drivegroup base registers 2015-03-04 10:09:01 -07:00
arch-tegra210 ARM: tegra: pinmux: add Tegra210 support 2015-03-04 10:09:02 -07:00
arch-u8500 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-vf610 arm: vf610: improve evaluation of reset source 2014-12-01 10:20:22 +01:00
arch-zynq dm: zynq: Remove inline gpio functions 2015-01-29 17:09:52 -07:00
arch-zynqmp arm64: Add Xilinx ZynqMP support 2015-03-02 18:41:54 +01:00
armv8 armv8/fsl-lsch3: Change normal memory shareability 2015-02-24 13:08:22 -08:00
imx-common Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2014-11-05 12:48:09 -05:00
iproc-common arm: add Cygnus and NSP boards 2014-08-30 07:46:40 -04:00
kona-common bcm281xx: add support for "USB OTG clock" 2014-12-29 16:31:23 -05:00
proc-armv ARM: add missing HYP mode constant 2014-07-28 17:06:35 +02:00
ti-common dma: ti-edma3: introduce edma3 driver 2014-10-23 11:27:29 -04:00
armv7.h ARM: Introduce erratum workaround for 454179 2015-03-13 09:28:48 -04:00
assembler.h arm: build arch memset/memcpy in Thumb2 mode 2015-01-09 10:20:22 -05:00
atomic.h Remove ${objtree}/include/asm/proc/ link 2014-06-11 16:27:05 -04:00
bitops.h Remove ${objtree}/include/asm/proc/ link 2014-06-11 16:27:05 -04:00
bootm.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
byteorder.h armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases 2014-01-10 10:10:23 +01:00
cache.h ARM: cache_v7: use __weak 2014-07-04 19:57:22 +02:00
config.h arm: ls102xa: Add Freescale LS102xA SoC support 2014-09-08 10:30:32 -07:00
davinci_rtc.h am33xx, davinci: Create and use <asm/davinci_rtc.h> 2013-11-01 15:30:22 -04:00
dma-mapping.h arm: dma_alloc_coherent: malloc() -> memalign() 2013-09-14 12:08:00 +02:00
ehci-omap.h usb: new board-specific USB init interface 2013-10-20 23:42:40 +02:00
emif.h ARM: DRA7: EMIF: Update SDRAM_REF_CTRL register value 2015-02-16 12:41:40 -05:00
errno.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
gic.h arm64 patch: gicv3 support 2014-04-08 00:15:12 +02:00
global_data.h armv8/fsl-lsch3: Add support for second DDR clock 2015-02-24 13:09:14 -08:00
gpio.h gpio: Replace ARM gpio.h with the common API in include/asm-generic 2012-01-09 20:10:32 -06:00
hardware.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
io.h arm: ls102xa: Add Freescale LS102xA SoC support 2014-09-08 10:30:32 -07:00
linkage.h arm: adapt asm/linkage.h from Linux 2012-05-15 08:31:26 +02:00
mach-types.h arm: tegra: initial support for apalis t30 2014-10-22 09:30:54 -07:00
macro.h Merge branch 'master' of git://git.denx.de/u-boot-tegra 2015-03-10 19:09:18 -04:00
memory.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
omap_boot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
omap_common.h ARM: OMAP: Change set_pl310_ctrl_reg to be generic 2015-03-13 09:28:55 -04:00
omap_gpio.h dm: omap: gpio: Support driver model 2014-10-23 19:29:07 -06:00
omap_mmc.h omap_hsmmc: add driver check for write protection 2013-03-08 16:41:13 -05:00
omap_musb.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pcie_layerscape.h arm: ls102xa: Update PCIe dts node status 2014-12-11 09:35:56 -08:00
pl310.h mx6: Enable L2 cache support 2014-02-11 11:24:12 +01:00
posix_types.h armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases 2014-01-10 10:10:23 +01:00
processor.h Remove ${objtree}/include/asm/proc/ link 2014-06-11 16:27:05 -04:00
psci.h ARM: PSCI: Rework the DT handler slightly 2015-03-09 11:13:29 -04:00
ptrace.h Remove ${objtree}/include/asm/proc/ link 2014-06-11 16:27:05 -04:00
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
secure.h ARM: HYP/non-sec: allow relocation to secure RAM 2014-07-28 17:19:09 +02:00
semihosting.h arm: semihosting: fix up compile bugs 2014-12-29 07:44:06 -05:00
setup.h arm bootm: Allow to pass board specified atags 2012-10-30 15:28:05 -07:00
spl.h arm: spl: Avoid setting up a duplicate global data structure 2015-03-04 14:55:04 -05:00
string.h arm: Use optimized memcpy and memset from linux 2011-04-27 19:38:07 +02:00
system.h armv8/fsl-lsch3: Convert flushing L3 to assembly to avoid using stack 2015-02-24 13:08:46 -08:00
types.h arm64: core support 2014-01-09 16:08:44 +01:00
u-boot-arm.h common: Move dram_init() declaration to common location 2015-02-09 15:08:48 +01:00
u-boot.h bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
unaligned.h arm64: core support 2014-01-09 16:08:44 +01:00
utils.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00