mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
microblaze: Fix systems with MSR=0
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>
This commit is contained in:
parent
c65715de78
commit
b777a37c29
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@
|
|||
#define NOP __asm__ __volatile__ ("nop");
|
||||
|
||||
/* use machine status registe USE_MSR_REG */
|
||||
#ifdef XILINX_USE_MSR_INSTR
|
||||
#if XILINX_USE_MSR_INSTR == 1
|
||||
#define MSRSET(val) \
|
||||
__asm__ __volatile__ ("msrset r0," #val );
|
||||
|
||||
|
|
Loading…
Reference in a new issue