armv7: remove old isb() and dsb() macros
This removes some old macros that we no longer use. Change-Id: I9d87beb5c2deca228cdf89a98e54b2779be0f0ea Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2868 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
8ec69053f1
commit
2138afe943
|
@ -97,7 +97,6 @@ extern inline void __raw_readsl(unsigned int addr, void *data, int longlen)
|
|||
* TODO: The kernel offers some more advanced versions of barriers, it might
|
||||
* have some advantages to use them instead of the simple one here.
|
||||
*/
|
||||
//#define dmb() __asm__ __volatile__ ("" : : : "memory")
|
||||
#define __iormb() dmb()
|
||||
#define __iowmb() dmb()
|
||||
|
||||
|
|
|
@ -43,9 +43,6 @@
|
|||
*/
|
||||
#define __asmeq(x, y) ".ifnc " x "," y " ; .err ; .endif\n\t"
|
||||
|
||||
/* FIXME: conflicts with new implementation in cache.c */
|
||||
//#define isb() __asm__ __volatile__ ("" : : : "memory")
|
||||
|
||||
#define nop() __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t");
|
||||
|
||||
#define arch_align_stack(x) (x)
|
||||
|
|
Loading…
Reference in New Issue