Tom Rini | 540b73a | 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 | 5536c3c | 2019-11-07 16:11:32 +0000 | [diff] [blame] | 8 | depends on !FIT_SIGNATURE && NXP_ESBC |
Tom Rini | 540b73a | 2022-06-17 16:24:31 -0400 | [diff] [blame^] | 9 | |
| 10 | config CHAIN_OF_TRUST |
Tom Rini | 2852267 | 2017-03-01 16:51:58 -0500 | [diff] [blame] | 11 | select FSL_CAAM |
Gaurav Jain | 66e5471 | 2022-06-09 16:32:15 +0530 | [diff] [blame] | 12 | select ARCH_MISC_INIT |
Tom Rini | c9f8518 | 2022-06-16 14:04:39 -0400 | [diff] [blame] | 13 | select FSL_SEC_MON |
Ley Foon Tan | 0680f1b | 2017-05-03 17:13:32 +0800 | [diff] [blame] | 14 | select SPL_BOARD_INIT if (ARM && SPL) |
Alexandru Gagniuc | 0721209 | 2021-09-02 19:54:19 -0500 | [diff] [blame] | 15 | select SPL_HASH if (ARM && SPL) |
Tom Rini | 089df18 | 2017-05-15 12:17:49 -0400 | [diff] [blame] | 16 | select SHA_HW_ACCEL |
| 17 | select SHA_PROG_HW_ACCEL |
Simon Glass | 2be2965 | 2017-07-23 21:19:39 -0600 | [diff] [blame] | 18 | select ENV_IS_NOWHERE |
Sumit Garg | 86c773f | 2018-01-09 01:27:46 +0530 | [diff] [blame] | 19 | select CMD_EXT4 if ARM |
| 20 | select CMD_EXT4_WRITE if ARM |
Tom Rini | 540b73a | 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 | ea7971f | 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 | 9314533 | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 27 | default y |
Simon Glass | ea7971f | 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 | 6f2d0a5 | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 33 | |
Tom Rini | 2b2817b | 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 | 601483f | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 43 | config SYS_FSL_SFP_BE |
| 44 | def_bool y |
Tom Rini | 540b73a | 2022-06-17 16:24:31 -0400 | [diff] [blame^] | 45 | depends on PPC || FSL_LSCH2 || ARCH_LS1021A |
Tom Rini | 601483f | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 46 | |
| 47 | config SYS_FSL_SFP_LE |
| 48 | def_bool y |
Tom Rini | 540b73a | 2022-06-17 16:24:31 -0400 | [diff] [blame^] | 49 | depends on !SYS_FSL_SFP_BE |
Tom Rini | 601483f | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 50 | |
| 51 | choice |
| 52 | prompt "SFP IP revision" |
Tom Rini | 601483f | 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 | |
| 67 | config SYS_FSL_SRK_LE |
| 68 | def_bool y |
Tom Rini | 540b73a | 2022-06-17 16:24:31 -0400 | [diff] [blame^] | 69 | depends on ARM |
Tom Rini | 601483f | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 70 | |
| 71 | config KEY_REVOCATION |
| 72 | def_bool y |
Tom Rini | 540b73a | 2022-06-17 16:24:31 -0400 | [diff] [blame^] | 73 | |
| 74 | endmenu |
| 75 | |
| 76 | comment "Other functionality shared between NXP SoCs" |
Tom Rini | 601483f | 2022-06-16 14:04:40 -0400 | [diff] [blame] | 77 | |
Tom Rini | 28f9c31 | 2022-03-24 17:17:58 -0400 | [diff] [blame] | 78 | config DEEP_SLEEP |
| 79 | bool "Enable SoC deep sleep feature" |
Tom Rini | 9314533 | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 80 | depends on ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || ARCH_LS1021A |
| 81 | default y |
Tom Rini | 28f9c31 | 2022-03-24 17:17:58 -0400 | [diff] [blame] | 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 | |
Stephen Carlson | 15347d2 | 2021-06-22 16:35:20 -0700 | [diff] [blame] | 86 | config FSL_USE_PCA9547_MUX |
| 87 | bool "Enable PCA9547 I2C Mux on Freescale boards" |
Tom Rini | 9314533 | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 88 | depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 |
Stephen Carlson | 15347d2 | 2021-06-22 16:35:20 -0700 | [diff] [blame] | 89 | help |
| 90 | This option enables the PCA9547 I2C mux on Freescale boards. |
| 91 | |
Stephen Carlson | b5ee48c | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 92 | config VID |
Stephen Carlson | b5ee48c | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 93 | bool "Enable Freescale VID" |
Tom Rini | 9314533 | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 94 | depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (I2C || DM_I2C) |
Stephen Carlson | b5ee48c | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 95 | help |
| 96 | This option enables setting core voltage based on individual |
| 97 | values saved in SoC fuses. |
| 98 | |
Tom Rini | d06e4b7 | 2021-12-12 22:12:31 -0500 | [diff] [blame] | 99 | config SPL_VID |
| 100 | bool "Enable Freescale VID in SPL" |
Tom Rini | 9314533 | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 101 | depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (SPL_I2C || DM_SPL_I2C) |
Tom Rini | d06e4b7 | 2021-12-12 22:12:31 -0500 | [diff] [blame] | 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 | |
Rajesh Bhagat | 6f2d0a5 | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 132 | config VOL_MONITOR_LTC3882_READ |
Rajesh Bhagat | 6f2d0a5 | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 133 | bool "Enable the LTC3882 voltage monitor read" |
Rajesh Bhagat | 6f2d0a5 | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 134 | help |
| 135 | This option enables LTC3882 voltage monitor read |
Stephen Carlson | b5ee48c | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 136 | functionality. It is used by the common VID driver. |
Rajesh Bhagat | 6f2d0a5 | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 137 | |
| 138 | config VOL_MONITOR_LTC3882_SET |
Rajesh Bhagat | 6f2d0a5 | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 139 | bool "Enable the LTC3882 voltage monitor set" |
Rajesh Bhagat | 6f2d0a5 | 2018-01-17 16:13:04 +0530 | [diff] [blame] | 140 | help |
| 141 | This option enables LTC3882 voltage monitor set |
Stephen Carlson | b5ee48c | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 142 | functionality. It is used by the common VID driver. |
| 143 | |
| 144 | config VOL_MONITOR_ISL68233_READ |
Stephen Carlson | b5ee48c | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 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 |
Stephen Carlson | b5ee48c | 2021-02-08 11:11:29 +0100 | [diff] [blame] | 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. |
Tom Rini | d06e4b7 | 2021-12-12 22:12:31 -0500 | [diff] [blame] | 155 | |
| 156 | endif |
Tom Rini | d43cd48 | 2022-03-30 18:07:32 -0400 | [diff] [blame] | 157 | |
| 158 | config FSL_QIXIS |
| 159 | bool "Enable QIXIS support" |
Tom Rini | 9314533 | 2022-06-16 14:04:35 -0400 | [diff] [blame] | 160 | depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3 |
Tom Rini | d43cd48 | 2022-03-30 18:07:32 -0400 | [diff] [blame] | 161 | |
| 162 | config QIXIS_I2C_ACCESS |
| 163 | bool "Access to QIXIS is over i2c" |
| 164 | depends on FSL_QIXIS |
| 165 | default y |
Tom Rini | 5cc1d92 | 2022-06-08 08:24:28 -0400 | [diff] [blame] | 166 | |
| 167 | config HAS_FSL_DR_USB |
| 168 | def_bool y |
| 169 | depends on USB_EHCI_HCD && PPC |