coreboot/src
Benjamin Barenblat 82ef8ada82 src/commonlib/lz4_wrapper: Correct inline asm for unaligned 64-bit copy
Rewrite inline assembly for ARMv7+ to correctly annotate inputs and
outputs.  On ARM GCC 6.1.1, this causes assembly output to change from
the incorrect

	@ r0 is allocated to hold dst and x0
	@ r1 is allocated to hold src and x1
	ldr r0, [r1]		@ clobbers dst!
	ldr r1, [r1, #4]
	str r0, [r0]
	str r1, [r0, #4]

to the correct

	@ r0 is allocated to hold dst
	@ r1 is allocated to hold src and x1
	@ r3 is allocated to hold x0
	ldr r3, [r1]
	ldr r1, [r1, #4]
	str r3, [r0]
	str r1, [r0, #4]

Also modify checkpatch.pl to ignore spaces before opening brackets when
used in inline assembly.

Change-Id: I255995f5e0a7b1a95375258755a93972c51d79b8
Signed-off-by: Benjamin Barenblat <bbaren@google.com>
Reviewed-on: https://review.coreboot.org/15216
Tested-by: build bot (Jenkins)
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-06-24 19:10:05 +02:00
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch arch/x86/smbios: Correct manufacturer ID 2016-06-24 18:46:56 +02:00
commonlib src/commonlib/lz4_wrapper: Correct inline asm for unaligned 64-bit copy 2016-06-24 19:10:05 +02:00
console console/post: be explicit about conditional cmos_post_log() compiling 2016-05-25 18:04:11 +02:00
cpu ACPI S3: Add common recovery code 2016-06-22 12:10:17 +02:00
device device: i2c: Add support for I2C bus operations 2016-06-09 17:05:40 +02:00
drivers kconfig: add missing SPI TPM CS config definition 2016-06-23 17:22:06 +02:00
ec chromeec: Move EC image hash to separate file in CBFS 2016-06-03 17:24:26 +02:00
include SPD: Add DRAM devices types 2016-06-24 18:24:27 +02:00
lib lib: Build reg_script for bootblock 2016-06-09 17:43:53 +02:00
mainboard samsung/lumpy: Fix build with System Agent blob 2016-06-23 21:53:04 +02:00
northbridge intel/sandybridge: Fix builds with System Agent blob 2016-06-23 21:52:46 +02:00
soc intel/apollolake: Enable prefetching and caching for BIOS reads 2016-06-23 23:11:35 +02:00
southbridge drivers/lenovo: Add hybrid graphics driver 2016-06-01 23:22:01 +02:00
superio sio/winbond/w83667hg-a: Add pinmux defines for UART B 2016-05-29 19:34:54 +02:00
vendorcode kconfig: allow various tpm type and interface permutations 2016-06-23 17:11:48 +02:00
Kconfig kconfig: allow various tpm type and interface permutations 2016-06-23 17:11:48 +02:00