tfa-clang.patch (1435B)
1 diff --git a/include/plat/marvell/armada/common/aarch64/marvell_macros.S b/include/plat/marvell/armada/common/aarch64/marvell_macros.S 2 index bfe2d4127..e18290b1b 100644 3 --- a/include/plat/marvell/armada/common/aarch64/marvell_macros.S 4 +++ b/include/plat/marvell/armada/common/aarch64/marvell_macros.S 5 @@ -30,8 +30,7 @@ icc_regs: 6 #endif 7 /* Registers common to both GICv2 and GICv3 */ 8 gicd_pend_reg: 9 - .asciz "gicd_ispendr regs (Offsets 0x200 - 0x278)\n" \ 10 - " Offset:\t\t\tvalue\n" 11 + .asciz "gicd_ispendr regs (Offsets 0x200 - 0x278)\nOffset:\t\t\tvalue\n" 12 newline: 13 .asciz "\n" 14 spacer: 15 diff --git a/plat/marvell/armada/a8k/common/a8k_common.mk b/plat/marvell/armada/a8k/common/a8k_common.mk 16 index 81b355191..64b2d43b4 100644 17 --- a/plat/marvell/armada/a8k/common/a8k_common.mk 18 +++ b/plat/marvell/armada/a8k/common/a8k_common.mk 19 @@ -10,6 +10,8 @@ PLAT_COMMON_BASE := plat/marvell/armada/a8k/common 20 MARVELL_DRV_BASE := drivers/marvell 21 MARVELL_COMMON_BASE := plat/marvell/armada/common 22 23 +CFLAGS += -Wno-asm-operand-widths 24 + 25 MARVELL_SVC_TEST := 0 26 $(eval $(call add_define,MARVELL_SVC_TEST)) 27 28 diff --git a/tools/fiptool/Makefile b/tools/fiptool/Makefile 29 index 6deac9d0f..e10f54fb7 100644 30 --- a/tools/fiptool/Makefile 31 +++ b/tools/fiptool/Makefile 32 @@ -22,6 +22,8 @@ else 33 FIPTOOL_CFLAGS += -O2 34 endif 35 36 +FIPTOOL_CFLAGS += -Wno-overflow 37 + 38 FIPTOOL_INCLUDE_DIRS := ../../include/tools_share 39 40 FIPTOOL_DEFINES += STATIC=$(STATIC)