nxp: Rename board/freescale/common/Kconfig to arch/Kconfig.nxp
[platform/kernel/u-boot.git] / arch / Kconfig.nxp
1 config CHAIN_OF_TRUST
2         depends on !FIT_SIGNATURE && NXP_ESBC
3         imply CMD_BLOB
4         imply CMD_HASH if ARM
5         select FSL_CAAM
6         select ARCH_MISC_INIT
7         select SPL_BOARD_INIT if (ARM && SPL)
8         select SPL_HASH if (ARM && SPL)
9         select SHA_HW_ACCEL
10         select SHA_PROG_HW_ACCEL
11         select ENV_IS_NOWHERE
12         select CMD_EXT4 if ARM
13         select CMD_EXT4_WRITE if ARM
14         bool
15         default y
16
17 config CMD_ESBC_VALIDATE
18         bool "Enable the 'esbc_validate' and 'esbc_halt' commands"
19         depends on CHAIN_OF_TRUST
20         default y
21         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)
26
27 config DEEP_SLEEP
28         bool "Enable SoC deep sleep feature"
29         depends on ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || ARCH_LS1021A
30         default y
31         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
35 config FSL_USE_PCA9547_MUX
36         bool "Enable PCA9547 I2C Mux on Freescale boards"
37         depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
38         help
39          This option enables the PCA9547 I2C mux on Freescale boards.
40
41 config VID
42         bool "Enable Freescale VID"
43         depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (I2C || DM_I2C)
44         help
45          This option enables setting core voltage based on individual
46          values saved in SoC fuses.
47
48 config SPL_VID
49         bool "Enable Freescale VID in SPL"
50         depends on (PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3) && (SPL_I2C || DM_SPL_I2C)
51         help
52          This option enables setting core voltage based on individual
53          values saved in SoC fuses, in SPL.
54
55 if VID || SPL_VID
56
57 config 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
63 config 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
69 config 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
75 config 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
81 config VOL_MONITOR_LTC3882_READ
82         bool "Enable the LTC3882 voltage monitor read"
83         help
84          This option enables LTC3882 voltage monitor read
85          functionality. It is used by the common VID driver.
86
87 config VOL_MONITOR_LTC3882_SET
88         bool "Enable the LTC3882 voltage monitor set"
89         help
90          This option enables LTC3882 voltage monitor set
91          functionality. It is used by the common VID driver.
92
93 config VOL_MONITOR_ISL68233_READ
94         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
99 config VOL_MONITOR_ISL68233_SET
100         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.
104
105 endif
106
107 config FSL_QIXIS
108         bool "Enable QIXIS support"
109         depends on PPC || ARCH_LS1021A || FSL_LSCH2 || FSL_LSCH3
110
111 config QIXIS_I2C_ACCESS
112         bool "Access to QIXIS is over i2c"
113         depends on FSL_QIXIS
114         default y
115
116 config HAS_FSL_DR_USB
117         def_bool y
118         depends on USB_EHCI_HCD && PPC