Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13905
-gerrit
commit c4e7e9074d770cb4f2a537292de4e40d458c8f90 Author: Vladimir Serbinenko phcoder@gmail.com Date: Fri Mar 4 09:29:50 2016 +0100
lz4_wrapper: Use __asm__ rather than asm.
__asm__ is more robust to compilation flags.
Change-Id: Ic7ca6e38ddd439dcfc4a62ef272ecea62416b4be Signed-off-by: Vladimir Serbinenko phcoder@gmail.com --- src/commonlib/lz4_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/commonlib/lz4_wrapper.c b/src/commonlib/lz4_wrapper.c index bb59f28..772f791 100644 --- a/src/commonlib/lz4_wrapper.c +++ b/src/commonlib/lz4_wrapper.c @@ -54,7 +54,7 @@ static void LZ4_copy8(void *dst, const void *src) ((uint8_t *)dst)[i] = ((uint8_t *)src)[i]; #else uint32_t x0, x1; - asm volatile ( + __asm__ volatile ( "ldr %[x0], [%[src]]\n\t" "ldr %[x1], [%[src], #4]\n\t" "str %[x0], [%[dst]]\n\t"