projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc46f65
)
[ARM] 4530/1: MXC: fix elf_hwcap compile breakage as in iop13xx
author
Quinn Jensen
<
[email protected]
>
Fri, 27 Jul 2007 22:30:55 +0000
(23:30 +0100)
committer
Russell King
<
[email protected]
>
Sat, 28 Jul 2007 19:52:55 +0000
(20:52 +0100)
MXC needs the same change as IOP. See [ARM] 4494/1
or commit
7dea1b20066cd30fb54da7e686b16b5e38b46b2d
An undefined reference to elf_hwcap prevents linkage, due
to changes made by
f884b1cf578e079f01682514ae1ae64c74586602
and
d1cbbd6b413510c6512f4f80ffd48db1a8dd554a
Removing processor.h removes the extern definition of
elf_hwcap, which fixes the link issue, but forgets cpu_relax().
So, instead, we'll call barrier() directly.
Cc: Lennert Buytenhek <
[email protected]
>
Cc: Catalin Marinas <
[email protected]
>
Acked-by: Ross Wille <
[email protected]
>
Signed-off-by: Quinn Jensen <
[email protected]
>
Signed-off-by: Russell King <
[email protected]
>
include/asm-arm/arch-mxc/uncompress.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/arch-mxc/uncompress.h
b/include/asm-arm/arch-mxc/uncompress.h
index ec5787d0e78cac6c714b5b5347041a4749625a41..42cc0cb3fefd40343ae2380cb9969d6ea2570f05 100644
(file)
--- a/
include/asm-arm/arch-mxc/uncompress.h
+++ b/
include/asm-arm/arch-mxc/uncompress.h
@@
-26,7
+26,6
@@
#define __MXC_BOOT_UNCOMPRESS
#include <asm/hardware.h>
-#include <asm/processor.h>
#define UART(x) (*(volatile unsigned long *)(serial_port + (x)))
@@
-62,7
+61,7
@@
static void putc(int ch)
}
while (!(UART(USR2) & USR2_TXFE))
-
cpu_relax
();
+
barrier
();
UART(TXR) = ch;
}