xref: /openbmc/u-boot/arch/arm/mach-uniphier/Kconfig (revision fc82e768)
1b6ef3a3fSMasahiro Yamadaif ARCH_UNIPHIER
24c425570SMasahiro Yamada
34c425570SMasahiro Yamadaconfig SYS_CONFIG_NAME
44c425570SMasahiro Yamada	default "uniphier"
54c425570SMasahiro Yamada
648efc8a2SMasahiro Yamadaconfig ARCH_UNIPHIER_32BIT
748efc8a2SMasahiro Yamada	bool
8*58008cbaSMichal Simek	select ARCH_SUPPORT_PSCI
9*58008cbaSMichal Simek	select ARMV7_NONSEC
10acf15001SLokesh Vutla	select CPU_V7A
11e8a92932SMasahiro Yamada	select CPU_V7_HAS_NONSEC
1248efc8a2SMasahiro Yamada
135fb87a16SMasahiro Yamadachoice
145fb87a16SMasahiro Yamada        prompt "UniPhier SoC select"
155e5edca2SMasahiro Yamada        default ARCH_UNIPHIER_V7_MULTI
165fb87a16SMasahiro Yamada
175fb87a16SMasahiro Yamadaconfig ARCH_UNIPHIER_LD4_SLD8
18561ca649SMasahiro Yamada	bool "UniPhier LD4/sLD8 SoCs"
1948efc8a2SMasahiro Yamada	select ARCH_UNIPHIER_32BIT
204c425570SMasahiro Yamada
2181b9bb5fSMasahiro Yamadaconfig ARCH_UNIPHIER_V7_MULTI
2281b9bb5fSMasahiro Yamada	bool "UniPhier Pro4/Pro5/PXs2/LD6b SoCs"
2348efc8a2SMasahiro Yamada	select ARCH_UNIPHIER_32BIT
245fb87a16SMasahiro Yamada
25561ca649SMasahiro Yamadaconfig ARCH_UNIPHIER_V8_MULTI
26561ca649SMasahiro Yamada	bool "UniPhier V8 SoCs"
27561ca649SMasahiro Yamada	depends on !SPL
28ee8d037cSMasahiro Yamada	select ARM64
29ee8d037cSMasahiro Yamada	select CMD_UNZIP
309d0c2cebSMasahiro Yamada
315fb87a16SMasahiro Yamadaendchoice
325fb87a16SMasahiro Yamada
33ea65c980SMasahiro Yamadaconfig ARCH_UNIPHIER_LD4
34561ca649SMasahiro Yamada	bool "Enable UniPhier LD4 SoC support"
355fb87a16SMasahiro Yamada	depends on ARCH_UNIPHIER_LD4_SLD8
365fb87a16SMasahiro Yamada	default y
373365b4ebSMasahiro Yamada
38ea65c980SMasahiro Yamadaconfig ARCH_UNIPHIER_SLD8
39561ca649SMasahiro Yamada	bool "Enable UniPhier sLD8 SoC support"
405fb87a16SMasahiro Yamada	depends on ARCH_UNIPHIER_LD4_SLD8
415fb87a16SMasahiro Yamada	default y
424c425570SMasahiro Yamada
4381b9bb5fSMasahiro Yamadaconfig ARCH_UNIPHIER_PRO4
4481b9bb5fSMasahiro Yamada	bool "Enable UniPhier Pro4 SoC support"
4581b9bb5fSMasahiro Yamada	depends on ARCH_UNIPHIER_V7_MULTI
4681b9bb5fSMasahiro Yamada	default y
4781b9bb5fSMasahiro Yamada
48ea65c980SMasahiro Yamadaconfig ARCH_UNIPHIER_PRO5
49561ca649SMasahiro Yamada	bool "Enable UniPhier Pro5 SoC support"
5081b9bb5fSMasahiro Yamada	depends on ARCH_UNIPHIER_V7_MULTI
515fb87a16SMasahiro Yamada	default y
5228f40d4aSMasahiro Yamada
53ea65c980SMasahiro Yamadaconfig ARCH_UNIPHIER_PXS2
54561ca649SMasahiro Yamada	bool "Enable UniPhier Pxs2 SoC support"
5581b9bb5fSMasahiro Yamada	depends on ARCH_UNIPHIER_V7_MULTI
565fb87a16SMasahiro Yamada	default y
57019df879SMasahiro Yamada
58ea65c980SMasahiro Yamadaconfig ARCH_UNIPHIER_LD6B
59561ca649SMasahiro Yamada	bool "Enable UniPhier LD6b SoC support"
6081b9bb5fSMasahiro Yamada	depends on ARCH_UNIPHIER_V7_MULTI
615fb87a16SMasahiro Yamada	default y
62019df879SMasahiro Yamada
63561ca649SMasahiro Yamadaconfig ARCH_UNIPHIER_LD11
64ee8d037cSMasahiro Yamada	bool "Enable UniPhier LD11 SoC support"
65ee8d037cSMasahiro Yamada	depends on ARCH_UNIPHIER_V8_MULTI
66561ca649SMasahiro Yamada	default y
67561ca649SMasahiro Yamada
68561ca649SMasahiro Yamadaconfig ARCH_UNIPHIER_LD20
69ee8d037cSMasahiro Yamada	bool "Enable UniPhier LD20 SoC support"
70ee8d037cSMasahiro Yamada	depends on ARCH_UNIPHIER_V8_MULTI
71561ca649SMasahiro Yamada	default y
72*58008cbaSMichal Simek	select OF_BOARD_SETUP
73561ca649SMasahiro Yamada
742c2ab3d4SMasahiro Yamadaconfig ARCH_UNIPHIER_PXS3
752c2ab3d4SMasahiro Yamada	bool "Enable UniPhier PXs3 SoC support"
762c2ab3d4SMasahiro Yamada	depends on ARCH_UNIPHIER_V8_MULTI
772c2ab3d4SMasahiro Yamada	default y
782c2ab3d4SMasahiro Yamada
797382d178SMasahiro Yamadaconfig CACHE_UNIPHIER
807382d178SMasahiro Yamada	bool "Enable the UniPhier L2 cache controller"
817382d178SMasahiro Yamada	depends on ARCH_UNIPHIER_32BIT
827382d178SMasahiro Yamada	default y
83*58008cbaSMichal Simek	select SYS_CACHE_SHIFT_7
847382d178SMasahiro Yamada	help
857382d178SMasahiro Yamada	  This option allows to use the UniPhier System Cache as L2 cache.
867382d178SMasahiro Yamada
879879842cSMasahiro Yamadaconfig MICRO_SUPPORT_CARD
889879842cSMasahiro Yamada	bool "Use Micro Support Card"
894c425570SMasahiro Yamada	help
909879842cSMasahiro Yamada	  This option provides support for the expansion board, available
919879842cSMasahiro Yamada	  on some UniPhier reference boards.
924c425570SMasahiro Yamada
934c425570SMasahiro Yamada	  Say Y to use the on-board UART, Ether, LED devices.
944c425570SMasahiro Yamada
954c425570SMasahiro Yamadaconfig CMD_PINMON
964c425570SMasahiro Yamada	bool "Enable boot mode pins monitor command"
974c425570SMasahiro Yamada	default y
984c425570SMasahiro Yamada	help
994c425570SMasahiro Yamada	  The command "pinmon" shows the state of the boot mode pins.
1004c425570SMasahiro Yamada	  The boot mode pins are latched when the system reset is deasserted
1014c425570SMasahiro Yamada	  and determine which device the system should load a boot image from.
1024c425570SMasahiro Yamada
1034c425570SMasahiro Yamadaconfig CMD_DDRPHY_DUMP
1044c425570SMasahiro Yamada	bool "Enable dump command of DDR PHY parameters"
1055f49845eSMasahiro Yamada	depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \
1065f49845eSMasahiro Yamada		ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11
107f6c65bc2SMasahiro Yamada	default y
1084c425570SMasahiro Yamada	help
1094c425570SMasahiro Yamada	  The command "ddrphy" shows the resulting parameters of DDR PHY
1104c425570SMasahiro Yamada	  training; it is useful for the evaluation of DDR PHY training.
1114c425570SMasahiro Yamada
11293d92d46SMasahiro Yamadaconfig CMD_DDRMPHY_DUMP
11393d92d46SMasahiro Yamada	bool "Enable dump command of DDR Multi PHY parameters"
114ea65c980SMasahiro Yamada	depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
115f6c65bc2SMasahiro Yamada	default y
11693d92d46SMasahiro Yamada	help
11793d92d46SMasahiro Yamada	  The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
11893d92d46SMasahiro Yamada	  training; it is useful for the evaluation of DDR Multi PHY training.
11993d92d46SMasahiro Yamada
1209ac0e7b3SMasahiro Yamadaconfig SYS_SOC
1219ac0e7b3SMasahiro Yamada	default "uniphier-v7" if ARCH_UNIPHIER_LD4_SLD8 || ARCH_UNIPHIER_V7_MULTI
122b6ef3a3fSMasahiro Yamadaendif
123