blob: 6b9d5c956971c3760a44850c975400b8023421c4 [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"
Fabio Estevama128e522023-07-11 18:09:02 -030017 select PL01X_SERIAL
Stefan Agner081ea1f2018-02-06 09:44:34 +010018 select BOARD_EARLY_INIT_F
19
Stefan Agner081ea1f2018-02-06 09:44:34 +010020config TARGET_XFI3
21 bool "Support xfi3"
22
23endchoice
24
25config SYS_SOC
26 default "mxs"
27
28source "board/olimex/mx23_olinuxino/Kconfig"
29source "board/freescale/mx23evk/Kconfig"
Stefan Agner081ea1f2018-02-06 09:44:34 +010030
31endif
Stefan Agner663a3232018-02-06 09:44:35 +010032
33if ARCH_MX28
34
35config MX28
36 bool
37 default y
38
39choice
40 prompt "MX28 board select"
41 optional
42
Stefan Agner663a3232018-02-06 09:44:35 +010043config TARGET_MX28EVK
44 bool "Support mx28evk"
Fabio Estevam2d036172023-07-11 18:09:01 -030045 select PL01X_SERIAL
Stefan Agner663a3232018-02-06 09:44:35 +010046 select BOARD_EARLY_INIT_F
47
Lukasz Majewskif3adb662019-12-08 22:06:56 +010048config TARGET_XEA
49 bool "Support XEA"
Lukasz Majewski7b558252023-05-19 12:43:56 +020050 select PL01X_SERIAL
Lukasz Majewskif3adb662019-12-08 22:06:56 +010051
Stefan Agner663a3232018-02-06 09:44:35 +010052endchoice
53
54config SYS_SOC
55 default "mxs"
56
Lukasz Majewskia4e62672023-05-09 16:32:39 +020057config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT
58 bool "Force minimal current draw from VDD5V by MX28 PMU"
59 default n
60 help
61 After setting this option, the current drawn from VDD5V
62 by the PMU is reduced to zero - the DCDC_BATT is used as
63 the main power source for PMU.
64
Lukasz Majewski9c4197c2023-05-09 16:32:40 +020065config SPL_MXS_PMU_DISABLE_BATT_CHARGE
66 bool "Disable Battery Charging in MX28 PMU"
67 default n
68
Lukasz Majewski0fd4b5d2023-05-09 16:32:41 +020069config SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR
70 bool "Enable the 4P2 linear regulator in MX28 PMU"
71 default y
72 help
73 This option enables the 4P2 linear regulator (derived
74 from VDD5V) - so the VDD4P2 power source is operational.
75
Stefan Agner663a3232018-02-06 09:44:35 +010076source "board/freescale/mx28evk/Kconfig"
Lukasz Majewskif3adb662019-12-08 22:06:56 +010077source "board/liebherr/xea/Kconfig"
Stefan Agner663a3232018-02-06 09:44:35 +010078
79endif