xref: /openbmc/u-boot/arch/arm/mach-uniphier/Kconfig (revision 3365b4eb)
1b6ef3a3fSMasahiro Yamadaif ARCH_UNIPHIER
24c425570SMasahiro Yamada
34c425570SMasahiro Yamadaconfig SYS_CONFIG_NAME
44c425570SMasahiro Yamada	default "uniphier"
54c425570SMasahiro Yamada
64c425570SMasahiro Yamadaconfig UNIPHIER_SMP
74c425570SMasahiro Yamada	bool
84c425570SMasahiro Yamada
94c425570SMasahiro Yamadachoice
104c425570SMasahiro Yamada	prompt "UniPhier SoC select"
117fff91ffSMasahiro Yamada	default MACH_PH1_PRO4
124c425570SMasahiro Yamada
13*3365b4ebSMasahiro Yamadaconfig MACH_PH1_SLD3
14*3365b4ebSMasahiro Yamada	bool "PH1-sLD3"
154c425570SMasahiro Yamada	select UNIPHIER_SMP
164c425570SMasahiro Yamada
174c425570SMasahiro Yamadaconfig MACH_PH1_LD4
184c425570SMasahiro Yamada	bool "PH1-LD4"
194c425570SMasahiro Yamada
20*3365b4ebSMasahiro Yamadaconfig MACH_PH1_PRO4
21*3365b4ebSMasahiro Yamada	bool "PH1-Pro4"
22*3365b4ebSMasahiro Yamada	select UNIPHIER_SMP
23*3365b4ebSMasahiro Yamada
244c425570SMasahiro Yamadaconfig MACH_PH1_SLD8
254c425570SMasahiro Yamada	bool "PH1-sLD8"
264c425570SMasahiro Yamada
274c425570SMasahiro Yamadaendchoice
284c425570SMasahiro Yamada
294c425570SMasahiro Yamadachoice
304c425570SMasahiro Yamada	prompt "UniPhier Support Card select"
314c425570SMasahiro Yamada	optional
324c425570SMasahiro Yamada
334c425570SMasahiro Yamadaconfig PFC_MICRO_SUPPORT_CARD
344c425570SMasahiro Yamada	bool "Support card with PFC CPLD"
354c425570SMasahiro Yamada	help
364c425570SMasahiro Yamada	  This option provides support for the expansion board with PFC
374c425570SMasahiro Yamada	  original address mapping.
384c425570SMasahiro Yamada
394c425570SMasahiro Yamada	  Say Y to use the on-board UART, Ether, LED devices.
404c425570SMasahiro Yamada
414c425570SMasahiro Yamadaconfig DCC_MICRO_SUPPORT_CARD
424c425570SMasahiro Yamada	bool "Support card with DCC CPLD"
434c425570SMasahiro Yamada	help
444c425570SMasahiro Yamada	  This option provides support for the expansion board with DCC-
454c425570SMasahiro Yamada	  arranged address mapping that is compatible with legacy UniPhier
464c425570SMasahiro Yamada	  reference boards.
474c425570SMasahiro Yamada
484c425570SMasahiro Yamada	  Say Y to use the on-board UART, Ether, LED devices.
494c425570SMasahiro Yamada
504c425570SMasahiro Yamadaendchoice
514c425570SMasahiro Yamada
524c425570SMasahiro Yamadaconfig CMD_PINMON
534c425570SMasahiro Yamada	bool "Enable boot mode pins monitor command"
544c425570SMasahiro Yamada	default y
554c425570SMasahiro Yamada	help
564c425570SMasahiro Yamada	  The command "pinmon" shows the state of the boot mode pins.
574c425570SMasahiro Yamada	  The boot mode pins are latched when the system reset is deasserted
584c425570SMasahiro Yamada	  and determine which device the system should load a boot image from.
594c425570SMasahiro Yamada
604c425570SMasahiro Yamadaconfig CMD_DDRPHY_DUMP
614c425570SMasahiro Yamada	bool "Enable dump command of DDR PHY parameters"
624c425570SMasahiro Yamada	help
634c425570SMasahiro Yamada	  The command "ddrphy" shows the resulting parameters of DDR PHY
644c425570SMasahiro Yamada	  training; it is useful for the evaluation of DDR PHY training.
654c425570SMasahiro Yamada
664c425570SMasahiro Yamadachoice
674c425570SMasahiro Yamada	prompt "DDR3 Frequency select"
684c425570SMasahiro Yamada
694c425570SMasahiro Yamadaconfig DDR_FREQ_1600
704c425570SMasahiro Yamada	bool "DDR3 1600"
71*3365b4ebSMasahiro Yamada	depends on MACH_PH1_SLD3 || MACH_PH1_LD4 || MACH_PH1_PRO4
724c425570SMasahiro Yamada
734c425570SMasahiro Yamadaconfig DDR_FREQ_1333
744c425570SMasahiro Yamada	bool "DDR3 1333"
75*3365b4ebSMasahiro Yamada	depends on MACH_PH1_SLD3 || MACH_PH1_LD4 || MACH_PH1_SLD8
764c425570SMasahiro Yamada
774c425570SMasahiro Yamadaendchoice
784c425570SMasahiro Yamada
794c425570SMasahiro Yamadaconfig DDR_FREQ
804c425570SMasahiro Yamada	int
814c425570SMasahiro Yamada	default 1333 if DDR_FREQ_1333
824c425570SMasahiro Yamada	default 1600 if DDR_FREQ_1600
834c425570SMasahiro Yamada
84b6ef3a3fSMasahiro Yamadaendif
85