blob: 0fd4758cc67c5654addf280d3764d652fa07e9ee [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"
Fabio Estevam2d036172023-07-11 18:09:01 -030044 select PL01X_SERIAL
Stefan Agner663a3232018-02-06 09:44:35 +010045 select BOARD_EARLY_INIT_F
46
Lukasz Majewskif3adb662019-12-08 22:06:56 +010047config TARGET_XEA
48 bool "Support XEA"
Lukasz Majewski7b558252023-05-19 12:43:56 +020049 select PL01X_SERIAL
Lukasz Majewskif3adb662019-12-08 22:06:56 +010050
Stefan Agner663a3232018-02-06 09:44:35 +010051endchoice
52
53config SYS_SOC
54 default "mxs"
55
Lukasz Majewskia4e62672023-05-09 16:32:39 +020056config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT
57 bool "Force minimal current draw from VDD5V by MX28 PMU"
58 default n
59 help
60 After setting this option, the current drawn from VDD5V
61 by the PMU is reduced to zero - the DCDC_BATT is used as
62 the main power source for PMU.
63
Lukasz Majewski9c4197c2023-05-09 16:32:40 +020064config SPL_MXS_PMU_DISABLE_BATT_CHARGE
65 bool "Disable Battery Charging in MX28 PMU"
66 default n
67
Lukasz Majewski0fd4b5d2023-05-09 16:32:41 +020068config SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR
69 bool "Enable the 4P2 linear regulator in MX28 PMU"
70 default y
71 help
72 This option enables the 4P2 linear regulator (derived
73 from VDD5V) - so the VDD4P2 power source is operational.
74
Stefan Agner663a3232018-02-06 09:44:35 +010075source "board/freescale/mx28evk/Kconfig"
Lukasz Majewskif3adb662019-12-08 22:06:56 +010076source "board/liebherr/xea/Kconfig"
Stefan Agner663a3232018-02-06 09:44:35 +010077
78endif