From bcd81f1fdfd17940aadb36696d3cb81909d7b51f Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 1 Oct 2013 05:29:03 -0700 Subject: [PATCH] ARM: Remove the hack which excluded assembly barriers for tegra124 bootblock. Now that the tegra124 bootblock is compiled using ARMv4 code, this hack is no longer necessary. BUG=chrome-os-partner:23009 TEST=Built and booted into the bootblock on nyan. Built for link, snow, falco, and pit. BRANCH=None Change-Id: I5b7fe5e45e15f878089542a04bd20d6c607b0f69 Signed-off-by: Gabe Black Reviewed-on: https://chromium-review.googlesource.com/171403 Reviewed-by: Gabe Black Tested-by: Gabe Black Commit-Queue: Gabe Black --- src/arch/arm/include/armv7/arch/cache.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/arch/arm/include/armv7/arch/cache.h b/src/arch/arm/include/armv7/arch/cache.h index 3734608761..db745b842e 100644 --- a/src/arch/arm/include/armv7/arch/cache.h +++ b/src/arch/arm/include/armv7/arch/cache.h @@ -75,25 +75,19 @@ /* data memory barrier */ static inline void dmb(void) { -#if !defined(CONFIG_SOC_NVIDIA_TEGRA124) || !defined(__BOOT_BLOCK__) asm volatile ("dmb" : : : "memory"); -#endif } /* data sync barrier */ static inline void dsb(void) { -#if !defined(CONFIG_SOC_NVIDIA_TEGRA124) || !defined(__BOOT_BLOCK__) asm volatile ("dsb" : : : "memory"); -#endif } /* instruction sync barrier */ static inline void isb(void) { -#if !defined(CONFIG_SOC_NVIDIA_TEGRA124) || !defined(__BOOT_BLOCK__) asm volatile ("isb" : : : "memory"); -#endif } /*