arch/Kconfig.nxp: Re-organize slightly
[platform/kernel/u-boot.git] / arch / Kconfig.nxp
1 config NXP_ESBC
2         bool "NXP ESBC (secure boot) functionality"
3         help
4           Enable Freescale Secure Boot feature. Normally selected by defconfig.
5           If unsure, do not change.
6
7 menu "Chain of trust / secure boot options"
8         depends on !FIT_SIGNATURE && NXP_ESBC
9
10 config CHAIN_OF_TRUST
11         select FSL_CAAM
12         select ARCH_MISC_INIT
13         select FSL_SEC_MON
14         select SPL_BOARD_INIT if (ARM && SPL)
15         select SPL_HASH if (ARM && SPL)
16         select SHA_HW_ACCEL
17         select SHA_PROG_HW_ACCEL
18         select ENV_IS_NOWHERE
19         select CMD_EXT4 if ARM
20         select CMD_EXT4_WRITE if ARM
21         imply CMD_BLOB
22         imply CMD_HASH if ARM
23         def_bool y
24
25 config CMD_ESBC_VALIDATE
26         bool "Enable the 'esbc_validate' and 'esbc_halt' commands"
27         default y
28         help
29           This option enables two commands used for secure booting:
30
31             esbc_validate - validate signature using RSA verification
32             esbc_halt - put the core in spin loop (Secure Boot Only)
33
34 config ESBC_HDR_LS
35         bool
36
37 config ESBC_ADDR_64BIT
38         def_bool y
39         depends on ESBC_HDR_LS && FSL_LAYERSCAPE
40         help
41           For Layerscape based platforms, ESBC image Address in Header is 64bit.
42
43 config SYS_FSL_SFP_BE
44         def_bool y
45         depends on PPC || FSL_LSCH2 || ARCH_LS1021A
46
47 config SYS_FSL_SFP_LE
48         def_bool y
49         depends on !SYS_FSL_SFP_BE
50
51 choice
52         prompt "SFP IP revision"
53         default SYS_FSL_SFP_VER_3_0 if PPC
54         default SYS_FSL_SFP_VER_3_4
55
56 config SYS_FSL_SFP_VER_3_0
57         bool "SFP version 3.0"
58
59 config SYS_FSL_SFP_VER_3_2
60         bool "SFP version 3.2"
61
62 config SYS_FSL_SFP_VER_3_4
63         bool "SFP version 3.4"
64
65 endchoice
66
67 config SYS_FSL_SRK_LE
68         def_bool y
69         depends on ARM
70
71 config KEY_REVOCATION
72         def_bool y
73
74 endmenu
75
76 comment "Other functionality shared between NXP SoCs"
77
78 config DEEP_SLEEP
79         bool "Enable SoC deep sleep feature"
80         depends on ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || ARCH_LS1021A
81         default y
82         help
83           Indicates this SoC supports deep sleep feature. If deep sleep is
84           supported, core will start to execute uboot when wakes up.
85
86 config FSL_USE_PCA9547_MUX
87         bool "Enable PCA9547 I2C Mux on Freescale boards"
88         depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
89         help
90          This option enables the PCA9547 I2C mux on Freescale boards.
91
92 config VID
93         bool "Enable Freescale VID"
94         depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (I2C || DM_I2C)
95         help
96          This option enables setting core voltage based on individual
97          values saved in SoC fuses.
98
99 config SPL_VID
100         bool "Enable Freescale VID in SPL"
101         depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (SPL_I2C || DM_SPL_I2C)
102         help
103          This option enables setting core voltage based on individual
104          values saved in SoC fuses, in SPL.
105
106 if VID || SPL_VID
107
108 config VID_FLS_ENV
109         string "Environment variable for overriding VDD"
110         help
111           This option allows for specifying the environment variable
112           to check to override VDD information.
113
114 config VOL_MONITOR_INA220
115         bool "Enable the INA220 voltage monitor read"
116         help
117           This option enables INA220 voltage monitor read
118           functionality. It is used by the common VID driver.
119
120 config VOL_MONITOR_IR36021_READ
121         bool "Enable the IR36021 voltage monitor read"
122         help
123          This option enables IR36021 voltage monitor read
124          functionality. It is used by the common VID driver.
125
126 config VOL_MONITOR_IR36021_SET
127         bool "Enable the IR36021 voltage monitor set"
128         help
129          This option enables IR36021 voltage monitor set
130          functionality. It is used by the common VID driver.
131
132 config VOL_MONITOR_LTC3882_READ
133         bool "Enable the LTC3882 voltage monitor read"
134         help
135          This option enables LTC3882 voltage monitor read
136          functionality. It is used by the common VID driver.
137
138 config VOL_MONITOR_LTC3882_SET
139         bool "Enable the LTC3882 voltage monitor set"
140         help
141          This option enables LTC3882 voltage monitor set
142          functionality. It is used by the common VID driver.
143
144 config VOL_MONITOR_ISL68233_READ
145         bool "Enable the ISL68233 voltage monitor read"
146         help
147          This option enables ISL68233 voltage monitor read
148          functionality. It is used by the common VID driver.
149
150 config VOL_MONITOR_ISL68233_SET
151         bool "Enable the ISL68233 voltage monitor set"
152         help
153          This option enables ISL68233 voltage monitor set
154          functionality. It is used by the common VID driver.
155
156 endif
157
158 config FSL_QIXIS
159         bool "Enable QIXIS support"
160         depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
161
162 config QIXIS_I2C_ACCESS
163         bool "Access to QIXIS is over i2c"
164         depends on FSL_QIXIS
165         default y
166
167 config HAS_FSL_DR_USB
168         def_bool y
169         depends on USB_EHCI_HCD && PPC