blob: d3233d8d14f386bfe86a6f34a956fa80749719c8 [file] [log] [blame]
Stefan Agnerc5343d42018-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"
Fabio Estevame7133642023-07-11 18:09:03 -030013 select PL01X_SERIAL
Stefan Agnerc5343d42018-02-06 09:44:34 +010014 select BOARD_EARLY_INIT_F
15
16config TARGET_MX23EVK
17 bool "Support mx23evk"
Fabio Estevam9a38d882023-07-11 18:09:02 -030018 select PL01X_SERIAL
Stefan Agnerc5343d42018-02-06 09:44:34 +010019 select BOARD_EARLY_INIT_F
20
Stefan Agnerc5343d42018-02-06 09:44:34 +010021config TARGET_XFI3
22 bool "Support xfi3"
23
24endchoice
25
26config SYS_SOC
27 default "mxs"
28
29source "board/olimex/mx23_olinuxino/Kconfig"
30source "board/freescale/mx23evk/Kconfig"
Stefan Agnerc5343d42018-02-06 09:44:34 +010031
32endif
Stefan Agner25c5b4e2018-02-06 09:44:35 +010033
34if ARCH_MX28
35
36config MX28
37 bool
38 default y
39
40choice
41 prompt "MX28 board select"
42 optional
43
Stefan Agner25c5b4e2018-02-06 09:44:35 +010044config TARGET_MX28EVK
45 bool "Support mx28evk"
Fabio Estevam68bad632023-07-11 18:09:01 -030046 select PL01X_SERIAL
Stefan Agner25c5b4e2018-02-06 09:44:35 +010047 select BOARD_EARLY_INIT_F
48
Lukasz Majewski010e58d2019-12-08 22:06:56 +010049config TARGET_XEA
50 bool "Support XEA"
Lukasz Majewski474c0862023-05-19 12:43:56 +020051 select PL01X_SERIAL
Lukasz Majewski010e58d2019-12-08 22:06:56 +010052
Stefan Agner25c5b4e2018-02-06 09:44:35 +010053endchoice
54
55config SYS_SOC
56 default "mxs"
57
Lukasz Majewski1c3c6012023-05-09 16:32:39 +020058config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT
59 bool "Force minimal current draw from VDD5V by MX28 PMU"
60 default n
61 help
62 After setting this option, the current drawn from VDD5V
63 by the PMU is reduced to zero - the DCDC_BATT is used as
64 the main power source for PMU.
65
Lukasz Majewski249a3cc2023-05-09 16:32:40 +020066config SPL_MXS_PMU_DISABLE_BATT_CHARGE
67 bool "Disable Battery Charging in MX28 PMU"
68 default n
69
Lukasz Majewski79230642023-05-09 16:32:41 +020070config SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR
71 bool "Enable the 4P2 linear regulator in MX28 PMU"
72 default y
73 help
74 This option enables the 4P2 linear regulator (derived
75 from VDD5V) - so the VDD4P2 power source is operational.
76
Stefan Agner25c5b4e2018-02-06 09:44:35 +010077source "board/freescale/mx28evk/Kconfig"
Lukasz Majewski010e58d2019-12-08 22:06:56 +010078source "board/liebherr/xea/Kconfig"
Stefan Agner25c5b4e2018-02-06 09:44:35 +010079
80endif