blob: 72cac0fb99d652dbba64d4de6e9fcb559f544188 [file] [log] [blame]
Tom Rini51b06fa2017-01-22 19:43:10 -05001config CHAIN_OF_TRUST
Udit Agarwal22ec2382019-11-07 16:11:32 +00002 depends on !FIT_SIGNATURE && NXP_ESBC
Simon Glass311ec4f2017-04-26 22:27:53 -06003 imply CMD_BLOB
Simon Glass027608e2017-05-17 03:25:25 -06004 imply CMD_HASH if ARM
Tom Rinia5c4d402017-03-01 16:51:58 -05005 select FSL_CAAM
Gaurav Jainbd50fd12022-06-09 16:32:15 +05306 select ARCH_MISC_INIT
Tom Rini0b58c2e2022-06-16 14:04:39 -04007 select FSL_SEC_MON
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08008 select SPL_BOARD_INIT if (ARM && SPL)
Alexandru Gagniuc97464ff2021-09-02 19:54:19 -05009 select SPL_HASH if (ARM && SPL)
Tom Rini5bdd9192017-05-15 12:17:49 -040010 select SHA_HW_ACCEL
11 select SHA_PROG_HW_ACCEL
Simon Glass73c18b42017-07-23 21:19:39 -060012 select ENV_IS_NOWHERE
Sumit Garg13ad2902018-01-09 01:27:46 +053013 select CMD_EXT4 if ARM
14 select CMD_EXT4_WRITE if ARM
Tom Rini51b06fa2017-01-22 19:43:10 -050015 bool
16 default y
Simon Glassa6a9ea42017-05-17 03:25:16 -060017
18config CMD_ESBC_VALIDATE
19 bool "Enable the 'esbc_validate' and 'esbc_halt' commands"
Tom Riniaac187d2022-06-16 14:04:35 -040020 depends on CHAIN_OF_TRUST
21 default y
Simon Glassa6a9ea42017-05-17 03:25:16 -060022 help
23 This option enables two commands used for secure booting:
24
25 esbc_validate - validate signature using RSA verification
26 esbc_halt - put the core in spin loop (Secure Boot Only)
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053027
Tom Rinieb56a392022-06-16 14:04:37 -040028config ESBC_HDR_LS
29 bool
30
31config ESBC_ADDR_64BIT
32 def_bool y
33 depends on ESBC_HDR_LS && FSL_LAYERSCAPE
34 help
35 For Layerscape based platforms, ESBC image Address in Header is 64bit.
36
Tom Rinib643ebd2022-03-24 17:17:58 -040037config DEEP_SLEEP
38 bool "Enable SoC deep sleep feature"
Tom Riniaac187d2022-06-16 14:04:35 -040039 depends on ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || ARCH_LS1021A
40 default y
Tom Rinib643ebd2022-03-24 17:17:58 -040041 help
42 Indicates this SoC supports deep sleep feature. If deep sleep is
43 supported, core will start to execute uboot when wakes up.
44
Stephen Carlsone36d49c2021-06-22 16:35:20 -070045config FSL_USE_PCA9547_MUX
46 bool "Enable PCA9547 I2C Mux on Freescale boards"
Tom Riniaac187d2022-06-16 14:04:35 -040047 depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
Stephen Carlsone36d49c2021-06-22 16:35:20 -070048 help
49 This option enables the PCA9547 I2C mux on Freescale boards.
50
Stephen Carlsonc3301a22021-02-08 11:11:29 +010051config VID
Stephen Carlsonc3301a22021-02-08 11:11:29 +010052 bool "Enable Freescale VID"
Tom Riniaac187d2022-06-16 14:04:35 -040053 depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (I2C || DM_I2C)
Stephen Carlsonc3301a22021-02-08 11:11:29 +010054 help
55 This option enables setting core voltage based on individual
56 values saved in SoC fuses.
57
Tom Rini89cdcab2021-12-12 22:12:31 -050058config SPL_VID
59 bool "Enable Freescale VID in SPL"
Tom Riniaac187d2022-06-16 14:04:35 -040060 depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (SPL_I2C || DM_SPL_I2C)
Tom Rini89cdcab2021-12-12 22:12:31 -050061 help
62 This option enables setting core voltage based on individual
63 values saved in SoC fuses, in SPL.
64
65if VID || SPL_VID
66
67config VID_FLS_ENV
68 string "Environment variable for overriding VDD"
69 help
70 This option allows for specifying the environment variable
71 to check to override VDD information.
72
73config VOL_MONITOR_INA220
74 bool "Enable the INA220 voltage monitor read"
75 help
76 This option enables INA220 voltage monitor read
77 functionality. It is used by the common VID driver.
78
79config VOL_MONITOR_IR36021_READ
80 bool "Enable the IR36021 voltage monitor read"
81 help
82 This option enables IR36021 voltage monitor read
83 functionality. It is used by the common VID driver.
84
85config VOL_MONITOR_IR36021_SET
86 bool "Enable the IR36021 voltage monitor set"
87 help
88 This option enables IR36021 voltage monitor set
89 functionality. It is used by the common VID driver.
90
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053091config VOL_MONITOR_LTC3882_READ
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053092 bool "Enable the LTC3882 voltage monitor read"
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053093 help
94 This option enables LTC3882 voltage monitor read
Stephen Carlsonc3301a22021-02-08 11:11:29 +010095 functionality. It is used by the common VID driver.
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053096
97config VOL_MONITOR_LTC3882_SET
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053098 bool "Enable the LTC3882 voltage monitor set"
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053099 help
100 This option enables LTC3882 voltage monitor set
Stephen Carlsonc3301a22021-02-08 11:11:29 +0100101 functionality. It is used by the common VID driver.
102
103config VOL_MONITOR_ISL68233_READ
Stephen Carlsonc3301a22021-02-08 11:11:29 +0100104 bool "Enable the ISL68233 voltage monitor read"
105 help
106 This option enables ISL68233 voltage monitor read
107 functionality. It is used by the common VID driver.
108
109config VOL_MONITOR_ISL68233_SET
Stephen Carlsonc3301a22021-02-08 11:11:29 +0100110 bool "Enable the ISL68233 voltage monitor set"
111 help
112 This option enables ISL68233 voltage monitor set
113 functionality. It is used by the common VID driver.
Tom Rini89cdcab2021-12-12 22:12:31 -0500114
115endif
Tom Rinie24547a2022-03-30 18:07:32 -0400116
117config FSL_QIXIS
118 bool "Enable QIXIS support"
Tom Riniaac187d2022-06-16 14:04:35 -0400119 depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
Tom Rinie24547a2022-03-30 18:07:32 -0400120
121config QIXIS_I2C_ACCESS
122 bool "Access to QIXIS is over i2c"
123 depends on FSL_QIXIS
124 default y
Tom Rini41713012022-06-08 08:24:28 -0400125
126config HAS_FSL_DR_USB
127 def_bool y
128 depends on USB_EHCI_HCD && PPC