Kconfig 2.8 KB
Newer Older
1
if ARCH_UNIPHIER
2 3

config SYS_CONFIG_NAME
4
	default "uniphier"
5

6 7 8
config ARCH_UNIPHIER_32BIT
	bool
	select CPU_V7
9 10
	select CPU_V7_HAS_NONSEC
	select ARMV7_NONSEC
11
	select ARCH_SUPPORT_PSCI
12 13 14 15 16

config ARCH_UNIPHIER_64BIT
	bool
	select ARM64
	select SPL_SEPARATE_BSS
17
	select ARMV8_MULTIENTRY
18
	select ARMV8_SPIN_TABLE
19

20 21
choice
        prompt "UniPhier SoC select"
22
        default ARCH_UNIPHIER_PRO4
23

24
config ARCH_UNIPHIER_SLD3
25
	bool "UniPhier PH1-sLD3 SoC"
26
	select ARCH_UNIPHIER_32BIT
27

28 29
config ARCH_UNIPHIER_LD4_SLD8
	bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
30
	select ARCH_UNIPHIER_32BIT
31

32
config ARCH_UNIPHIER_PRO4
33
	bool "UniPhier PH1-Pro4 SoC"
34
	select ARCH_UNIPHIER_32BIT
35 36 37

config ARCH_UNIPHIER_PRO5_PXS2_LD6B
	bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
38
	select ARCH_UNIPHIER_32BIT
39

40 41
config ARCH_UNIPHIER_LD11
	bool "UniPhier PH1-LD11 SoC"
42
	select ARCH_UNIPHIER_64BIT
43

44 45
config ARCH_UNIPHIER_LD20
	bool "UniPhier PH1-LD20 SoC"
46
	select ARCH_UNIPHIER_64BIT
47
	select OF_BOARD_SETUP
48

49 50
endchoice

51
config ARCH_UNIPHIER_LD4
52 53 54
	bool "Enable UniPhier PH1-LD4 SoC support"
	depends on ARCH_UNIPHIER_LD4_SLD8
	default y
55

56
config ARCH_UNIPHIER_SLD8
57 58 59
	bool "Enable UniPhier PH1-sLD8 SoC support"
	depends on ARCH_UNIPHIER_LD4_SLD8
	default y
60

61
config ARCH_UNIPHIER_PRO5
62 63 64
	bool "Enable UniPhier PH1-Pro5 SoC support"
	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
	default y
65

66
config ARCH_UNIPHIER_PXS2
67 68 69
	bool "Enable UniPhier ProXstream2 SoC support"
	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
	default y
70

71
config ARCH_UNIPHIER_LD6B
72 73 74
	bool "Enable UniPhier PH1-LD6b SoC support"
	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
	default y
75

76 77 78
config CACHE_UNIPHIER
	bool "Enable the UniPhier L2 cache controller"
	depends on ARCH_UNIPHIER_32BIT
79
	select SYS_CACHE_SHIFT_7
80 81 82 83
	default y
	help
	  This option allows to use the UniPhier System Cache as L2 cache.

84 85
config MICRO_SUPPORT_CARD
	bool "Use Micro Support Card"
86
	help
87 88
	  This option provides support for the expansion board, available
	  on some UniPhier reference boards.
89 90 91

	  Say Y to use the on-board UART, Ether, LED devices.

92 93 94 95 96 97 98 99
config CMD_PINMON
	bool "Enable boot mode pins monitor command"
	default y
	help
	  The command "pinmon" shows the state of the boot mode pins.
	  The boot mode pins are latched when the system reset is deasserted
	  and determine which device the system should load a boot image from.

100 101
config CMD_DDRPHY_DUMP
	bool "Enable dump command of DDR PHY parameters"
102
	depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
103
	default y
104 105 106 107
	help
	  The command "ddrphy" shows the resulting parameters of DDR PHY
	  training; it is useful for the evaluation of DDR PHY training.

108 109
config CMD_DDRMPHY_DUMP
	bool "Enable dump command of DDR Multi PHY parameters"
110
	depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
111
	default y
112 113 114 115
	help
	  The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
	  training; it is useful for the evaluation of DDR Multi PHY training.

116
endif