blob: b4a281e82d41365be6003aa25681755d45f6a4ac [file] [log] [blame]
Stefan Agner081ea1f2018-02-06 09:44:34 +01001if ARCH_MX23
2
3config MX23
4 bool
5 default y
6
7choice
8 prompt "MX23 board select"
9 optional
10
11config TARGET_MX23_OLINUXINO
12 bool "Support mx23_olinuxino"
13 select BOARD_EARLY_INIT_F
14
15config TARGET_MX23EVK
16 bool "Support mx23evk"
17 select BOARD_EARLY_INIT_F
18
Stefan Agner081ea1f2018-02-06 09:44:34 +010019config TARGET_XFI3
20 bool "Support xfi3"
21
22endchoice
23
24config SYS_SOC
25 default "mxs"
26
27source "board/olimex/mx23_olinuxino/Kconfig"
28source "board/freescale/mx23evk/Kconfig"
Stefan Agner081ea1f2018-02-06 09:44:34 +010029
30endif
Stefan Agner663a3232018-02-06 09:44:35 +010031
32if ARCH_MX28
33
34config MX28
35 bool
36 default y
37
38choice
39 prompt "MX28 board select"
40 optional
41
Stefan Agner663a3232018-02-06 09:44:35 +010042config TARGET_MX28EVK
43 bool "Support mx28evk"
44 select BOARD_EARLY_INIT_F
45
Lukasz Majewskif3adb662019-12-08 22:06:56 +010046config TARGET_XEA
47 bool "Support XEA"
Lukasz Majewski7b558252023-05-19 12:43:56 +020048 select PL01X_SERIAL
Lukasz Majewskif3adb662019-12-08 22:06:56 +010049
Stefan Agner663a3232018-02-06 09:44:35 +010050endchoice
51
52config SYS_SOC
53 default "mxs"
54
Lukasz Majewskia4e62672023-05-09 16:32:39 +020055config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT
56 bool "Force minimal current draw from VDD5V by MX28 PMU"
57 default n
58 help
59 After setting this option, the current drawn from VDD5V
60 by the PMU is reduced to zero - the DCDC_BATT is used as
61 the main power source for PMU.
62
Lukasz Majewski9c4197c2023-05-09 16:32:40 +020063config SPL_MXS_PMU_DISABLE_BATT_CHARGE
64 bool "Disable Battery Charging in MX28 PMU"
65 default n
66
Lukasz Majewski0fd4b5d2023-05-09 16:32:41 +020067config SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR
68 bool "Enable the 4P2 linear regulator in MX28 PMU"
69 default y
70 help
71 This option enables the 4P2 linear regulator (derived
72 from VDD5V) - so the VDD4P2 power source is operational.
73
Stefan Agner663a3232018-02-06 09:44:35 +010074source "board/freescale/mx28evk/Kconfig"
Lukasz Majewskif3adb662019-12-08 22:06:56 +010075source "board/liebherr/xea/Kconfig"
Stefan Agner663a3232018-02-06 09:44:35 +010076
77endif