xref: /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/zynqmp/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1if ARCH_ZYNQMP
2
3config SPL_FAT_SUPPORT
4	default y
5
6config SPL_LIBCOMMON_SUPPORT
7	default y
8
9config SPL_LIBDISK_SUPPORT
10	default y
11
12config SPL_LIBGENERIC_SUPPORT
13	default y
14
15config SPL_MMC_SUPPORT
16	default y if MMC_SDHCI_ZYNQ
17
18config SPL_SERIAL_SUPPORT
19	default y
20
21config SPL_SPI_FLASH_SUPPORT
22	default y if ZYNQ_QSPI
23
24config SPL_SPI_SUPPORT
25	default y if ZYNQ_QSPI
26
27config SYS_BOARD
28	default "zynqmp"
29
30config SYS_VENDOR
31	string "Vendor name"
32	default "xilinx"
33
34config SYS_SOC
35	default "zynqmp"
36
37config SYS_CONFIG_NAME
38	string "Board configuration name"
39	default "xilinx_zynqmp"
40	help
41	  This option contains information about board configuration name.
42	  Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
43	  will be used for board configuration.
44
45config BOOT_INIT_FILE
46	string "boot.bin init register filename"
47	depends on SPL
48	default ""
49	help
50	  Add register writes to boot.bin format (max 256 pairs).
51	  Expect a table of register-value pairs, e.g. "0x12345678 0x4321"
52
53config PMUFW_INIT_FILE
54	string "PMU firmware"
55	depends on SPL
56	default ""
57	help
58	  Include external PMUFW (Platform Management Unit FirmWare) to
59	  a Xilinx bootable image (boot.bin).
60
61config ZYNQMP_USB
62	bool "Configure ZynqMP USB"
63
64config SYS_MALLOC_F_LEN
65	default 0x600
66
67config DEFINE_TCM_OCM_MMAP
68	bool "Define TCM and OCM memory in MMU Table"
69	help
70	  This option if enabled defines the TCM and OCM memory and its
71	  memory attributes in MMU table entry.
72
73config ZYNQMP_PSU_INIT_ENABLED
74	bool "Include psu_init"
75	help
76	  Include psu_init to full u-boot. SPL include psu_init by default.
77
78config SPL_ZYNQMP_ALT_BOOTMODE_ENABLED
79	bool "Overwrite SPL bootmode"
80	depends on SPL
81	help
82	  Overwrite bootmode selected via boot mode pins to tell SPL what should
83	  be the next boot device.
84
85config SPL_ZYNQMP_ALT_BOOTMODE
86	hex
87	default 0x0 if JTAG_MODE
88	default 0x1 if QSPI_MODE_24BIT
89	default 0x2 if QSPI_MODE_32BIT
90	default 0x3 if SD_MODE
91	default 0x4 if NAND_MODE
92	default 0x5 if SD_MODE1
93	default 0x6 if EMMC_MODE
94	default 0x7 if USB_MODE
95	default 0xa if SW_USBHOST_MODE
96	default 0xb if SW_SATA_MODE
97
98choice
99	prompt "Boot mode"
100	depends on SPL_ZYNQMP_ALT_BOOTMODE_ENABLED
101	default JTAG
102
103config JTAG_MODE
104	bool "JTAG_MODE"
105
106config QSPI_MODE_24BIT
107	bool "QSPI_MODE_24BIT"
108
109config QSPI_MODE_32BIT
110	bool "QSPI_MODE_32BIT"
111
112config SD_MODE
113	bool "SD_MODE"
114
115config SD_MODE1
116	bool "SD_MODE1"
117
118config NAND_MODE
119	bool "NAND_MODE"
120
121config EMMC_MODE
122	bool "EMMC_MODE"
123
124config USB_MODE
125	bool "USB"
126
127config SW_USBHOST_MODE
128	bool "SW USBHOST_MODE"
129
130config SW_SATA_MODE
131	bool "SW SATA_MODE"
132
133endchoice
134
135endif
136