Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 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" |
Udit Agarwal | 22ec238 | 2019-11-07 16:11:32 +0000 | [diff] [blame] | 8 | depends on !FIT_SIGNATURE && NXP_ESBC |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 9 | |
| 10 | config CHAIN_OF_TRUST |
Tom Rini | a5c4d40 | 2017-03-01 16:51:58 -0500 | [diff] [blame] | 11 | select FSL_CAAM |
Gaurav Jain | bd50fd1 | 2022-06-09 16:32:15 +0530 | [diff] [blame] | 12 | select ARCH_MISC_INIT |
Tom Rini | 0b58c2e | 2022-06-16 14:04:39 -0400 | [diff] [blame] | 13 | select FSL_SEC_MON |
Ley Foon Tan | 48fcc4a | 2017-05-03 17:13:32 +0800 | [diff] [blame] | 14 | select SPL_BOARD_INIT if (ARM && SPL) |
Alexandru Gagniuc | 97464ff | 2021-09-02 19:54:19 -0500 | [diff] [blame] | 15 | select SPL_HASH if (ARM && SPL) |
Tom Rini | 5bdd919 | 2017-05-15 12:17:49 -0400 | [diff] [blame] | 16 | select SHA_HW_ACCEL |
| 17 | select SHA_PROG_HW_ACCEL |
Simon Glass | 73c18b4 | 2017-07-23 21:19:39 -0600 | [diff] [blame] | 18 | select ENV_IS_NOWHERE |
Sumit Garg | 13ad290 | 2018-01-09 01:27:46 +0530 | [diff] [blame] | 19 | select CMD_EXT4 if ARM |
| 20 | select CMD_EXT4_WRITE if ARM |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 21 | imply CMD_BLOB |
| 22 | imply CMD_HASH if ARM |
| 23 | def_bool y |
Simon Glass | a6a9ea4 | 2017-05-17 03:25:16 -0600 | [diff] [blame] | 24 | |
| 25 | config CMD_ESBC_VALIDATE |
| 26 | bool "Enable the 'esbc_validate' and 'esbc_halt' commands" |
Tom Rini | aac187d | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 27 | default y |
Simon Glass | a6a9ea4 | 2017-05-17 03:25:16 -0600 | [diff] [blame] | 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) |
Rajesh Bhagat | 241a3cc | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 33 | |
Tom Rini | eb56a39 | 2022-06-16 14:04:37 -0400 | [diff] [blame] | 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 | |
Tom Rini | a166399 | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 43 | config SYS_FSL_SFP_BE |
| 44 | def_bool y |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 45 | depends on PPC || FSL_LSCH2 || ARCH_LS1021A |
Tom Rini | a166399 | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 46 | |
| 47 | config SYS_FSL_SFP_LE |
| 48 | def_bool y |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 49 | depends on !SYS_FSL_SFP_BE |
Tom Rini | a166399 | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 50 | |
| 51 | choice |
| 52 | prompt "SFP IP revision" |
Tom Rini | a166399 | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 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 | |
Tom Rini | 27fcd31 | 2022-06-17 16:24:32 -0400 | [diff] [blame] | 67 | config SPL_UBOOT_KEY_HASH |
| 68 | string "Non-SRK key hash for U-Boot public/private key pair" |
| 69 | depends on SPL |
| 70 | default "" |
| 71 | help |
| 72 | Set the key hash for U-Boot here if public/private key pair used to |
| 73 | sign U-boot are different from the SRK hash put in the fuse. Example |
| 74 | of a key hash is |
| 75 | 41066b564c6ffcef40ccbc1e0a5d0d519604000c785d97bbefd25e4d288d1c8b. |
| 76 | Otherwise leave this empty. |
| 77 | |
Tom Rini | bf1dfd8 | 2022-06-17 16:24:34 -0400 | [diff] [blame^] | 78 | if PPC |
| 79 | |
| 80 | config BOOTSCRIPT_COPY_RAM |
| 81 | bool "Secure boot copies boot script to RAM" |
| 82 | help |
| 83 | On systems that support chain of trust booting, a number of addresses |
| 84 | are required to set variables that are used in the copying and then |
| 85 | verification of different parts of the system. If enabled, the subsequent |
| 86 | options are for what location to use in each step. |
| 87 | |
| 88 | config BS_ADDR_DEVICE |
| 89 | hex "Address in RAM for bs_device" |
| 90 | depends on BOOTSCRIPT_COPY_RAM |
| 91 | |
| 92 | config BS_SIZE |
| 93 | hex "The size of bs_size which is the amount read from bs_device" |
| 94 | depends on BOOTSCRIPT_COPY_RAM |
| 95 | |
| 96 | config BS_ADDR_RAM |
| 97 | hex "Address in RAM for bs_ram" |
| 98 | depends on BOOTSCRIPT_COPY_RAM |
| 99 | |
| 100 | config BS_HDR_ADDR_DEVICE |
| 101 | hex "Address in RAM for bs_hdr_device" |
| 102 | depends on BOOTSCRIPT_COPY_RAM |
| 103 | |
| 104 | config BS_HDR_SIZE |
| 105 | hex "The size of bs_hdr_size which is the amount read from bs_hdr_device" |
| 106 | depends on BOOTSCRIPT_COPY_RAM |
| 107 | |
| 108 | config BS_HDR_ADDR_RAM |
| 109 | hex "Address in RAM for bs_hdr_ram" |
| 110 | depends on BOOTSCRIPT_COPY_RAM |
| 111 | |
| 112 | config BOOTSCRIPT_HDR_ADDR |
| 113 | hex "CONFIG_BOOTSCRIPT_HDR_ADDR" |
| 114 | default BS_ADDR_RAM if BOOTSCRIPT_COPY_RAM |
| 115 | |
| 116 | endif |
| 117 | |
Tom Rini | a166399 | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 118 | config SYS_FSL_SRK_LE |
| 119 | def_bool y |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 120 | depends on ARM |
Tom Rini | a166399 | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 121 | |
| 122 | config KEY_REVOCATION |
| 123 | def_bool y |
Tom Rini | 6546112 | 2022-06-17 16:24:31 -0400 | [diff] [blame] | 124 | |
| 125 | endmenu |
| 126 | |
| 127 | comment "Other functionality shared between NXP SoCs" |
Tom Rini | a166399 | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 128 | |
Tom Rini | b643ebd | 2022-03-24 17:17:58 -0400 | [diff] [blame] | 129 | config DEEP_SLEEP |
| 130 | bool "Enable SoC deep sleep feature" |
Tom Rini | aac187d | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 131 | depends on ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || ARCH_LS1021A |
| 132 | default y |
Tom Rini | b643ebd | 2022-03-24 17:17:58 -0400 | [diff] [blame] | 133 | help |
| 134 | Indicates this SoC supports deep sleep feature. If deep sleep is |
| 135 | supported, core will start to execute uboot when wakes up. |
| 136 | |
Stephen Carlson | e36d49c | 2021-06-22 16:35:20 -0700 | [diff] [blame] | 137 | config FSL_USE_PCA9547_MUX |
| 138 | bool "Enable PCA9547 I2C Mux on Freescale boards" |
Tom Rini | aac187d | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 139 | depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 |
Stephen Carlson | e36d49c | 2021-06-22 16:35:20 -0700 | [diff] [blame] | 140 | help |
| 141 | This option enables the PCA9547 I2C mux on Freescale boards. |
| 142 | |
Stephen Carlson | c3301a2 | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 143 | config VID |
Stephen Carlson | c3301a2 | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 144 | bool "Enable Freescale VID" |
Tom Rini | aac187d | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 145 | depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (I2C || DM_I2C) |
Stephen Carlson | c3301a2 | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 146 | help |
| 147 | This option enables setting core voltage based on individual |
| 148 | values saved in SoC fuses. |
| 149 | |
Tom Rini | 89cdcab | 2021-12-12 22:12:31 -0500 | [diff] [blame] | 150 | config SPL_VID |
| 151 | bool "Enable Freescale VID in SPL" |
Tom Rini | aac187d | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 152 | depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (SPL_I2C || DM_SPL_I2C) |
Tom Rini | 89cdcab | 2021-12-12 22:12:31 -0500 | [diff] [blame] | 153 | help |
| 154 | This option enables setting core voltage based on individual |
| 155 | values saved in SoC fuses, in SPL. |
| 156 | |
| 157 | if VID || SPL_VID |
| 158 | |
| 159 | config VID_FLS_ENV |
| 160 | string "Environment variable for overriding VDD" |
| 161 | help |
| 162 | This option allows for specifying the environment variable |
| 163 | to check to override VDD information. |
| 164 | |
| 165 | config VOL_MONITOR_INA220 |
| 166 | bool "Enable the INA220 voltage monitor read" |
| 167 | help |
| 168 | This option enables INA220 voltage monitor read |
| 169 | functionality. It is used by the common VID driver. |
| 170 | |
| 171 | config VOL_MONITOR_IR36021_READ |
| 172 | bool "Enable the IR36021 voltage monitor read" |
| 173 | help |
| 174 | This option enables IR36021 voltage monitor read |
| 175 | functionality. It is used by the common VID driver. |
| 176 | |
| 177 | config VOL_MONITOR_IR36021_SET |
| 178 | bool "Enable the IR36021 voltage monitor set" |
| 179 | help |
| 180 | This option enables IR36021 voltage monitor set |
| 181 | functionality. It is used by the common VID driver. |
| 182 | |
Rajesh Bhagat | 241a3cc | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 183 | config VOL_MONITOR_LTC3882_READ |
Rajesh Bhagat | 241a3cc | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 184 | bool "Enable the LTC3882 voltage monitor read" |
Rajesh Bhagat | 241a3cc | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 185 | help |
| 186 | This option enables LTC3882 voltage monitor read |
Stephen Carlson | c3301a2 | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 187 | functionality. It is used by the common VID driver. |
Rajesh Bhagat | 241a3cc | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 188 | |
| 189 | config VOL_MONITOR_LTC3882_SET |
Rajesh Bhagat | 241a3cc | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 190 | bool "Enable the LTC3882 voltage monitor set" |
Rajesh Bhagat | 241a3cc | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 191 | help |
| 192 | This option enables LTC3882 voltage monitor set |
Stephen Carlson | c3301a2 | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 193 | functionality. It is used by the common VID driver. |
| 194 | |
| 195 | config VOL_MONITOR_ISL68233_READ |
Stephen Carlson | c3301a2 | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 196 | bool "Enable the ISL68233 voltage monitor read" |
| 197 | help |
| 198 | This option enables ISL68233 voltage monitor read |
| 199 | functionality. It is used by the common VID driver. |
| 200 | |
| 201 | config VOL_MONITOR_ISL68233_SET |
Stephen Carlson | c3301a2 | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 202 | bool "Enable the ISL68233 voltage monitor set" |
| 203 | help |
| 204 | This option enables ISL68233 voltage monitor set |
| 205 | functionality. It is used by the common VID driver. |
Tom Rini | 89cdcab | 2021-12-12 22:12:31 -0500 | [diff] [blame] | 206 | |
| 207 | endif |
Tom Rini | e24547a | 2022-03-30 18:07:32 -0400 | [diff] [blame] | 208 | |
| 209 | config FSL_QIXIS |
| 210 | bool "Enable QIXIS support" |
Tom Rini | aac187d | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 211 | depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 |
Tom Rini | e24547a | 2022-03-30 18:07:32 -0400 | [diff] [blame] | 212 | |
| 213 | config QIXIS_I2C_ACCESS |
| 214 | bool "Access to QIXIS is over i2c" |
| 215 | depends on FSL_QIXIS |
| 216 | default y |
Tom Rini | 4171301 | 2022-06-08 08:24:28 -0400 | [diff] [blame] | 217 | |
| 218 | config HAS_FSL_DR_USB |
| 219 | def_bool y |
| 220 | depends on USB_EHCI_HCD && PPC |