Skip to content

Commit ed85ed6

Browse files
author
Michal Simek
committed
microblaze: Remove generic platform
All microblaze platforms are using the same configuration that's why there is no reason to use generic platform. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
1 parent 2521338 commit ed85ed6

4 files changed

Lines changed: 40 additions & 80 deletions

File tree

‎arch/microblaze/platform/Kconfig.platform‎

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,6 @@
55
#
66

77
menu "Platform options"
8-
choice
9-
prompt "Platform"
10-
default PLATFORM_MICROBLAZE_AUTO
11-
help
12-
Choose which hardware board/platform you are targeting.
13-
14-
config PLATFORM_GENERIC
15-
bool "Generic"
16-
help
17-
Choose this option for the Generic platform.
18-
19-
endchoice
208

219
config OPT_LIB_FUNCTION
2210
bool "Optimalized lib function"
@@ -37,8 +25,45 @@ config OPT_LIB_ASM
3725
Allows turn on optimalized library function (memcpy and memmove).
3826
Function are written in asm code.
3927

40-
if PLATFORM_GENERIC=y
41-
source "arch/microblaze/platform/generic/Kconfig.auto"
42-
endif
28+
# Definitions for MICROBLAZE0
29+
comment "Definitions for MICROBLAZE0"
30+
31+
config KERNEL_BASE_ADDR
32+
hex "Physical address where Linux Kernel is"
33+
default "0x90000000"
34+
help
35+
BASE Address for kernel
36+
37+
config XILINX_MICROBLAZE0_FAMILY
38+
string "Targeted FPGA family"
39+
default "virtex5"
40+
41+
config XILINX_MICROBLAZE0_USE_MSR_INSTR
42+
int "USE_MSR_INSTR range (0:1)"
43+
default 0
44+
45+
config XILINX_MICROBLAZE0_USE_PCMP_INSTR
46+
int "USE_PCMP_INSTR range (0:1)"
47+
default 0
48+
49+
config XILINX_MICROBLAZE0_USE_BARREL
50+
int "USE_BARREL range (0:1)"
51+
default 0
52+
53+
config XILINX_MICROBLAZE0_USE_DIV
54+
int "USE_DIV range (0:1)"
55+
default 0
56+
57+
config XILINX_MICROBLAZE0_USE_HW_MUL
58+
int "USE_HW_MUL values (0=NONE, 1=MUL32, 2=MUL64)"
59+
default 0
60+
61+
config XILINX_MICROBLAZE0_USE_FPU
62+
int "USE_FPU values (0=NONE, 1=BASIC, 2=EXTENDED)"
63+
default 0
64+
65+
config XILINX_MICROBLAZE0_HW_VER
66+
string "Core version number"
67+
default 7.10.d
4368

4469
endmenu

‎arch/microblaze/platform/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#
22
# Makefile for arch/microblaze/platform directory
33
#
4-
#obj-$(CONFIG_PLATFORM_GENERIC) += generic/
54

65
obj-y += platform.o

‎arch/microblaze/platform/generic/Kconfig.auto‎

Lines changed: 0 additions & 61 deletions
This file was deleted.

‎arch/microblaze/platform/generic/Makefile‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)