summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-05-24 11:45:11 +0200
committerMichal Simek <michal.simek@xilinx.com>2016-06-06 11:23:27 +0200
commitac551e3492fe7bf9b4e087f8ee454108c5098c6d (patch)
tree4ca3f04901ca1254d2b4a2c60a56b97433fdeb44 /arch/microblaze/include/asm
parent4ad1096e487f6bd03ec235263259aa97ef9cb2f1 (diff)
downloadu-boot-imx-ac551e3492fe7bf9b4e087f8ee454108c5098c6d.zip
u-boot-imx-ac551e3492fe7bf9b4e087f8ee454108c5098c6d.tar.gz
u-boot-imx-ac551e3492fe7bf9b4e087f8ee454108c5098c6d.tar.bz2
microblaze: Move MSR instruction selection to Kconfig
Select MSR instructions via Kconfig instead of xparameters.h. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/include/asm')
-rw-r--r--arch/microblaze/include/asm/asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/asm.h b/arch/microblaze/include/asm/asm.h
index 11f3dd0..94f0562 100644
--- a/arch/microblaze/include/asm/asm.h
+++ b/arch/microblaze/include/asm/asm.h
@@ -50,7 +50,7 @@
#define NOP __asm__ __volatile__ ("nop");
/* use machine status registe USE_MSR_REG */
-#if XILINX_USE_MSR_INSTR == 1
+#if CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR == 1
#define MSRSET(val) \
__asm__ __volatile__ ("msrset r0," #val );