projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c65715d
)
microblaze: Fix systems with MSR=0
author
Michal Simek
<monstr@monstr.eu>
Mon, 7 Feb 2011 09:30:45 +0000
(10:30 +0100)
committer
Michal Simek
<monstr@monstr.eu>
Tue, 15 Feb 2011 14:13:24 +0000
(15:13 +0100)
u-boot BSP generates XILINX_USE_MSR_INSTR macro
even for system with MSR=0. That's why explicitly
check that MSR=1.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/asm.h
patch
|
blob
|
history
diff --git
a/arch/microblaze/include/asm/asm.h
b/arch/microblaze/include/asm/asm.h
index deb23e094a25a178ebdcbf4153d82a74bb98b547..c89e90438fcfc06cf899900aeb53722616fa2591 100644
(file)
--- a/
arch/microblaze/include/asm/asm.h
+++ b/
arch/microblaze/include/asm/asm.h
@@
-62,7
+62,7
@@
#define NOP __asm__ __volatile__ ("nop");
/* use machine status registe USE_MSR_REG */
-#if
def XILINX_USE_MSR_INSTR
+#if
XILINX_USE_MSR_INSTR == 1
#define MSRSET(val) \
__asm__ __volatile__ ("msrset r0," #val );