diff options
author | Michal Simek <michal.simek@xilinx.com> | 2016-05-24 11:45:11 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-06-06 11:23:27 +0200 |
commit | ac551e3492fe7bf9b4e087f8ee454108c5098c6d (patch) | |
tree | 4ca3f04901ca1254d2b4a2c60a56b97433fdeb44 /board/xilinx | |
parent | 4ad1096e487f6bd03ec235263259aa97ef9cb2f1 (diff) |
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 'board/xilinx')
-rw-r--r-- | board/xilinx/microblaze-generic/Kconfig | 4 | ||||
-rw-r--r-- | board/xilinx/microblaze-generic/xparameters.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/board/xilinx/microblaze-generic/Kconfig b/board/xilinx/microblaze-generic/Kconfig index c8b11ca82e..02ac65c1d3 100644 --- a/board/xilinx/microblaze-generic/Kconfig +++ b/board/xilinx/microblaze-generic/Kconfig @@ -9,6 +9,10 @@ config SYS_VENDOR config SYS_CONFIG_NAME default "microblaze-generic" +config XILINX_MICROBLAZE0_USE_MSR_INSTR + int "USE_MSR_INSTR range (0:1)" + default 0 + config XILINX_MICROBLAZE0_USE_PCMP_INSTR int "USE_PCMP_INSTR range (0:1)" default 0 diff --git a/board/xilinx/microblaze-generic/xparameters.h b/board/xilinx/microblaze-generic/xparameters.h index dc5645bd14..ee7d0875d2 100644 --- a/board/xilinx/microblaze-generic/xparameters.h +++ b/board/xilinx/microblaze-generic/xparameters.h @@ -14,7 +14,6 @@ #define XILINX_BOARD_NAME microblaze-generic /* Microblaze is microblaze_0 */ -#define XILINX_USE_MSR_INSTR 1 #define XILINX_FSL_NUMBER 3 /* GPIO is LEDs_4Bit*/ |