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 <gabeblack@google.com> Reviewed-on: https://chromium-review.googlesource.com/171403 Reviewed-by: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
parent
c1aa76b760
commit
bcd81f1fdf
1 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue