xref: /openbmc/u-boot/drivers/misc/Kconfig (revision fe78378d7df90541c09b279b67ce79ebbdca93d5)
16fb9ac15SSimon Glassconfig CMD_CROS_EC
26fb9ac15SSimon Glass	bool "Enable crosec command"
36fb9ac15SSimon Glass	depends on CROS_EC
46fb9ac15SSimon Glass	help
56fb9ac15SSimon Glass	  Enable command-line access to the Chrome OS EC (Embedded
66fb9ac15SSimon Glass	  Controller). This provides the 'crosec' command which has
76fb9ac15SSimon Glass	  a number of sub-commands for performing EC tasks such as
86fb9ac15SSimon Glass	  updating its flash, accessing a small saved context area
96fb9ac15SSimon Glass	  and talking to the I2C bus behind the EC (if there is one).
106fb9ac15SSimon Glass
116fb9ac15SSimon Glassconfig CROS_EC
126fb9ac15SSimon Glass	bool "Enable Chrome OS EC"
136fb9ac15SSimon Glass	help
146fb9ac15SSimon Glass	  Enable access to the Chrome OS EC. This is a separate
156fb9ac15SSimon Glass	  microcontroller typically available on a SPI bus on Chromebooks. It
166fb9ac15SSimon Glass	  provides access to the keyboard, some internal storage and may
176fb9ac15SSimon Glass	  control access to the battery and main PMIC depending on the
186fb9ac15SSimon Glass	  device. You can use the 'crosec' command to access it.
196fb9ac15SSimon Glass
206fb9ac15SSimon Glassconfig CROS_EC_I2C
216fb9ac15SSimon Glass	bool "Enable Chrome OS EC I2C driver"
226fb9ac15SSimon Glass	depends on CROS_EC
236fb9ac15SSimon Glass	help
246fb9ac15SSimon Glass	  Enable I2C access to the Chrome OS EC. This is used on older
256fb9ac15SSimon Glass	  ARM Chromebooks such as snow and spring before the standard bus
266fb9ac15SSimon Glass	  changed to SPI. The EC will accept commands across the I2C using
276fb9ac15SSimon Glass	  a special message protocol, and provide responses.
286fb9ac15SSimon Glass
296fb9ac15SSimon Glassconfig CROS_EC_LPC
306fb9ac15SSimon Glass	bool "Enable Chrome OS EC LPC driver"
316fb9ac15SSimon Glass	depends on CROS_EC
326fb9ac15SSimon Glass	help
336fb9ac15SSimon Glass	  Enable I2C access to the Chrome OS EC. This is used on x86
346fb9ac15SSimon Glass	  Chromebooks such as link and falco. The keyboard is provided
356fb9ac15SSimon Glass	  through a legacy port interface, so on x86 machines the main
366fb9ac15SSimon Glass	  function of the EC is power and thermal management.
376fb9ac15SSimon Glass
386fb9ac15SSimon Glassconfig CROS_EC_SPI
396fb9ac15SSimon Glass	bool "Enable Chrome OS EC SPI driver"
406fb9ac15SSimon Glass	depends on CROS_EC
416fb9ac15SSimon Glass	help
426fb9ac15SSimon Glass	  Enable SPI access to the Chrome OS EC. This is used on newer
436fb9ac15SSimon Glass	  ARM Chromebooks such as pit, pi and nyan-big. The SPI interface
446fb9ac15SSimon Glass	  provides a faster and more robust interface than I2C but the bugs
456fb9ac15SSimon Glass	  are less interesting.
466fb9ac15SSimon Glass
47f94a1bedSSimon Glassconfig DM_CROS_EC
48f94a1bedSSimon Glass	bool "Enable Driver Model for Chrome OS EC"
49f94a1bedSSimon Glass	depends on DM
50f94a1bedSSimon Glass	help
51f94a1bedSSimon Glass	  Enable driver model for the Chrome OS EC interface. This
52f94a1bedSSimon Glass	  allows the cros_ec SPI driver to operate with CONFIG_DM_SPI
53f94a1bedSSimon Glass	  but otherwise makes few changes. Since cros_ec also supports
546fb9ac15SSimon Glass	  LPC (which doesn't support driver model yet), a full
55f94a1bedSSimon Glass	  conversion is not yet possible.
56*fe78378dSgaurav rana
57*fe78378dSgaurav ranaconfig CONFIG_FSL_SEC_MON
58*fe78378dSgaurav rana	bool "Enable FSL SEC_MON Driver"
59*fe78378dSgaurav rana	help
60*fe78378dSgaurav rana	  Freescale Security Monitor block is responsible for monitoring
61*fe78378dSgaurav rana	  system states.
62*fe78378dSgaurav rana	  Security Monitor can be transitioned on any security failures,
63*fe78378dSgaurav rana	  like software violations or hardware security violations.
64