u-boot-brain/arch/arc/include/asm
Alexey Brodkin 71621525c3 arc: Fine-tune implementation of memory barriers
We improve on 2 things:
 1. Only ARC HS family has "dmb" instructions so do compile-time
    check for automatically defined macro __ARCHS__.
    Previous check for ARCv2 ISA was not good enough because ARC EM
    family is v2 ISA as well but still "dmb" instaruction is not
    supported in EM family.

 2. Still if there's no dedicated instruction for memory barrier
    let's at least insert compile-time barrier to make sure
    compiler deosn't reorder critical memory operations.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-03-21 16:21:34 +03:00
..
arcregs.h ARC: ARCv2: Cache: Fixed operation without IOC 2018-01-19 17:59:34 +03:00
bitops.h arc: Use the generic bitops headers 2015-11-05 10:52:29 -05:00
byteorder.h arc: add architecture header files 2014-02-07 08:14:32 -05:00
cache.h arc: cache - accommodate different L1 cache line lengths 2016-02-20 11:19:53 +03:00
config.h Convert CONFIG_ARCH_EARLY_INIT_R to Kconfig 2017-01-25 16:43:48 -05:00
global_data.h arc: make global_data.h usable in assembly files 2016-07-04 11:43:41 +03:00
gpio.h ARC: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO 2017-12-10 21:13:05 +03:00
io.h arc: Fine-tune implementation of memory barriers 2018-03-21 16:21:34 +03:00
linkage.h use ASM_NL instead of '; ' for assembler new line character in the macro 2015-03-05 20:49:43 -05:00
posix_types.h arc: Fix printf size_t format related warnings (again...) 2014-08-26 17:41:58 +04:00
processor.h arc: add empty asm/processor.h to satisfy compilation of USB code 2015-11-18 00:39:22 +03:00
ptrace.h arc: add architecture header files 2014-02-07 08:14:32 -05:00
sections.h arc: No need in sections defined in sources with newer tools 2016-08-05 12:50:25 +03:00
string.h arc: Get rid of handwritten string routines 2018-03-21 16:21:34 +03:00
types.h arc: add architecture header files 2014-02-07 08:14:32 -05:00
u-boot-arc.h arc: clean-up init procedure 2015-04-03 09:47:49 +03:00
u-boot.h arc: Make u-boot-arc.h a private header 2017-06-05 11:02:31 -04:00
unaligned.h arc: add architecture header files 2014-02-07 08:14:32 -05:00