brcm2708: fix build failure
Build of the brcm2708 subtarget currently fails with the following error message: arch/arm/lib/memset_rpi.S: Assembler messages: arch/arm/lib/memset_rpi.S:65: Error: garbage following instruction -- `orr DAT0,DAT0,lsl#8' arch/arm/lib/memset_rpi.S:67: Error: garbage following instruction -- `orr DAT0,DAT0,lsl#16' scripts/Makefile.build:427: recipe for target 'arch/arm/lib/memset_rpi.o' failed Using the assembly notation from master fixes this error. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
39405644d5
commit
81264ebb51
@ -1313,9 +1313,9 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|||||||
+ DAT2 .req ip
|
+ DAT2 .req ip
|
||||||
+ DAT3 .req lr
|
+ DAT3 .req lr
|
||||||
+
|
+
|
||||||
+ orr DAT0, DAT0, lsl #8
|
+ orr DAT0, DAT0, DAT0, lsl #8
|
||||||
+ push {S, lr}
|
+ push {S, lr}
|
||||||
+ orr DAT0, DAT0, lsl #16
|
+ orr DAT0, DAT0, DAT0, lsl #16
|
||||||
+ mov DAT1, DAT0
|
+ mov DAT1, DAT0
|
||||||
+
|
+
|
||||||
+ /* See if we're guaranteed to have at least one 16-byte aligned 16-byte write */
|
+ /* See if we're guaranteed to have at least one 16-byte aligned 16-byte write */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user