u-boot/arch/arm/cpu/armv7
Tom Rini a78cd86132 ARM: Rework and correct barrier definitions
As part of testing booting Linux kernels on Rockchip devices, it was
discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for
some cases incomplete isb definitions.  This was causing a failure to
boot of the Linux kernel.

In order to solve this problem as well as cover any corner cases that we
may also have had a number of changes are made in order to consolidate
things.  First, <asm/barriers.h> now becomes the source of isb/dsb/dmb
definitions.  This however introduces another complexity.  Due to
needing to build SPL for 32bit tegra with -march=armv4 we need to borrow
the __LINUX_ARM_ARCH__ logic from the Linux Kernel in a more complete
form.  Move this from arch/arm/lib/Makefile to arch/arm/Makefile and add
a comment about it.  Now that we can always know what the target CPU is
capable off we can get always do the correct thing for the barrier.  The
final part of this is that need to be consistent everywhere and call
isb()/dsb()/dmb() and NOT call ISB/DSB/DMB in some cases and the
function names in others.

Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Sandy Patterson <apatterson@sightlogix.com>
Reported-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Reported-by: Sandy Patterson <apatterson@sightlogix.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2016-08-05 07:23:57 -04:00
..
am33xx ARM: am33xx: Always inhibit init/refresh during DDR phy init 2016-07-25 12:00:06 -04:00
bcm235xx arm: bcm235xx: update clock framework 2016-06-24 17:24:38 -04:00
bcm281xx bcm281xx: add support for "USB OTG clock" 2014-12-29 16:31:23 -05:00
bcmcygnus arm: bcmcygnus: Add bcmcygnus u-architecture 2014-08-30 07:46:40 -04:00
bcmnsp arm: bcmnsp: Add bcmnsp u-architecture 2014-08-30 07:46:40 -04:00
iproc-common arm: iproc: Initial commit of iproc architecture code 2014-08-30 07:46:40 -04:00
kona-common board: arm:: Add support for Broadcom BCM23550 2016-06-13 08:56:02 -04:00
ls102xa ARMv7: PSCI: ls102xa: add more PSCI v1.0 functions implemention 2016-07-26 09:02:49 -07:00
mx5 arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mx6 mx6: clock: Fix the logic for reading axi_alt_sel 2016-07-20 18:26:37 +02:00
mx7 Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-07-28 08:45:00 -04:00
omap-common armv7: armv7: introduce set_gpmc_cs0 2016-07-22 14:46:11 -04:00
omap3 armv7: simplify identify_nand_chip 2016-07-22 14:46:11 -04:00
omap4 omap4: Check warm reset for reboot mode validity 2016-03-15 15:12:54 -04:00
omap5 ARM: dra7xx: Change DPLL_PER_HS13 divider value 2016-07-30 00:15:00 +05:30
rmobile arm: rmobile: Add Stout board support 2015-08-31 17:32:59 +09:00
s5p-common exynos: pwm: Add a driver for the exynos5 PWM 2016-05-25 13:25:18 +09:00
stv0991 stv0991: configure clock & pad muxing for qspi 2015-07-03 13:50:53 +05:30
sunxi ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
vf610 imx: vf610 add get_cpu_rev 2015-09-02 15:39:51 +02:00
arch_timer.c arm: add support for arch timer 2014-04-17 17:24:38 -04:00
cache_v7.c ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
cache_v7_asm.S arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_INVAL_ALL) with asm code 2016-04-11 20:48:27 -04:00
config.mk ARM: move -march=* and -mtune= options to arch/arm/Makefile 2015-03-27 16:55:22 +01:00
cp15.c ARM: Introduce erratum workaround for 454179 2015-03-13 09:28:48 -04:00
cpu.c arm: Turn of d-cache before i-cache 2015-09-02 21:28:25 -06:00
Kconfig Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
lowlevel_init.S ARM: SPL: Use CONFIG_SPL_DM not CONFIG_DM 2015-08-12 20:48:07 -04:00
Makefile ARM: PSCI: Add helper functions to access per-CPU target PC storage 2016-07-15 15:54:58 +02:00
nonsec_virt.S ARM: PSCI: Split out common stack setup code from psci_arch_init 2016-07-15 15:54:56 +02:00
psci-common.c ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
psci.S ARMv7: PSCI: add PSCI v1.0 functions skeleton 2016-07-26 09:02:39 -07:00
start.S arm: Allow skipping of low-level init with I-cache on 2016-06-12 23:49:38 +02:00
syslib.c ARM: OMAP: hide custom bit manipulation function sr32() 2014-04-17 14:39:54 -04:00
virt-dt.c ARMv8/PSCI: Fixup the device tree for PSCI 2016-07-19 11:34:07 -07:00
virt-v7.c tegra124: Reserve secure RAM using MC_SECURITY_CFG{0, 1}_0 2015-05-13 09:24:15 -07:00