blob: 85acdde44365414fb69df143ec09bbe1ecc04813 [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
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08007 select SPL_BOARD_INIT if (ARM && SPL)
Alexandru Gagniuc97464ff2021-09-02 19:54:19 -05008 select SPL_HASH if (ARM && SPL)
Tom Rini5bdd9192017-05-15 12:17:49 -04009 select SHA_HW_ACCEL
10 select SHA_PROG_HW_ACCEL
Simon Glass73c18b42017-07-23 21:19:39 -060011 select ENV_IS_NOWHERE
Sumit Garg13ad2902018-01-09 01:27:46 +053012 select CMD_EXT4 if ARM
13 select CMD_EXT4_WRITE if ARM
Tom Rini51b06fa2017-01-22 19:43:10 -050014 bool
15 default y
Simon Glassa6a9ea42017-05-17 03:25:16 -060016
17config CMD_ESBC_VALIDATE
18 bool "Enable the 'esbc_validate' and 'esbc_halt' commands"
Tom Riniaac187d2022-06-16 14:04:35 -040019 depends on CHAIN_OF_TRUST
20 default y
Simon Glassa6a9ea42017-05-17 03:25:16 -060021 help
22 This option enables two commands used for secure booting:
23
24 esbc_validate - validate signature using RSA verification
25 esbc_halt - put the core in spin loop (Secure Boot Only)
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053026
Tom Rinib643ebd2022-03-24 17:17:58 -040027config DEEP_SLEEP
28 bool "Enable SoC deep sleep feature"
Tom Riniaac187d2022-06-16 14:04:35 -040029 depends on ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || ARCH_LS1021A
30 default y
Tom Rinib643ebd2022-03-24 17:17:58 -040031 help
32 Indicates this SoC supports deep sleep feature. If deep sleep is
33 supported, core will start to execute uboot when wakes up.
34
Stephen Carlsone36d49c2021-06-22 16:35:20 -070035config FSL_USE_PCA9547_MUX
36 bool "Enable PCA9547 I2C Mux on Freescale boards"
Tom Riniaac187d2022-06-16 14:04:35 -040037 depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
Stephen Carlsone36d49c2021-06-22 16:35:20 -070038 help
39 This option enables the PCA9547 I2C mux on Freescale boards.
40
Stephen Carlsonc3301a22021-02-08 11:11:29 +010041config VID
Stephen Carlsonc3301a22021-02-08 11:11:29 +010042 bool "Enable Freescale VID"
Tom Riniaac187d2022-06-16 14:04:35 -040043 depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (I2C || DM_I2C)
Stephen Carlsonc3301a22021-02-08 11:11:29 +010044 help
45 This option enables setting core voltage based on individual
46 values saved in SoC fuses.
47
Tom Rini89cdcab2021-12-12 22:12:31 -050048config SPL_VID
49 bool "Enable Freescale VID in SPL"
Tom Riniaac187d2022-06-16 14:04:35 -040050 depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (SPL_I2C || DM_SPL_I2C)
Tom Rini89cdcab2021-12-12 22:12:31 -050051 help
52 This option enables setting core voltage based on individual
53 values saved in SoC fuses, in SPL.
54
55if VID || SPL_VID
56
57config VID_FLS_ENV
58 string "Environment variable for overriding VDD"
59 help
60 This option allows for specifying the environment variable
61 to check to override VDD information.
62
63config VOL_MONITOR_INA220
64 bool "Enable the INA220 voltage monitor read"
65 help
66 This option enables INA220 voltage monitor read
67 functionality. It is used by the common VID driver.
68
69config VOL_MONITOR_IR36021_READ
70 bool "Enable the IR36021 voltage monitor read"
71 help
72 This option enables IR36021 voltage monitor read
73 functionality. It is used by the common VID driver.
74
75config VOL_MONITOR_IR36021_SET
76 bool "Enable the IR36021 voltage monitor set"
77 help
78 This option enables IR36021 voltage monitor set
79 functionality. It is used by the common VID driver.
80
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053081config VOL_MONITOR_LTC3882_READ
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053082 bool "Enable the LTC3882 voltage monitor read"
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053083 help
84 This option enables LTC3882 voltage monitor read
Stephen Carlsonc3301a22021-02-08 11:11:29 +010085 functionality. It is used by the common VID driver.
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053086
87config VOL_MONITOR_LTC3882_SET
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053088 bool "Enable the LTC3882 voltage monitor set"
Rajesh Bhagat241a3cc2018-01-17 16:13:04 +053089 help
90 This option enables LTC3882 voltage monitor set
Stephen Carlsonc3301a22021-02-08 11:11:29 +010091 functionality. It is used by the common VID driver.
92
93config VOL_MONITOR_ISL68233_READ
Stephen Carlsonc3301a22021-02-08 11:11:29 +010094 bool "Enable the ISL68233 voltage monitor read"
95 help
96 This option enables ISL68233 voltage monitor read
97 functionality. It is used by the common VID driver.
98
99config VOL_MONITOR_ISL68233_SET
Stephen Carlsonc3301a22021-02-08 11:11:29 +0100100 bool "Enable the ISL68233 voltage monitor set"
101 help
102 This option enables ISL68233 voltage monitor set
103 functionality. It is used by the common VID driver.
Tom Rini89cdcab2021-12-12 22:12:31 -0500104
105endif
Tom Rinie24547a2022-03-30 18:07:32 -0400106
107config FSL_QIXIS
108 bool "Enable QIXIS support"
Tom Riniaac187d2022-06-16 14:04:35 -0400109 depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
Tom Rinie24547a2022-03-30 18:07:32 -0400110
111config QIXIS_I2C_ACCESS
112 bool "Access to QIXIS is over i2c"
113 depends on FSL_QIXIS
114 default y
Tom Rini41713012022-06-08 08:24:28 -0400115
116config HAS_FSL_DR_USB
117 def_bool y
118 depends on USB_EHCI_HCD && PPC