blob: 6cba2c40ddaaf7e004c2fdcb1dc2d516284c4dba [file] [log] [blame]
Beniamino Galvanid1037e42016-05-08 08:30:16 +02001if ARCH_MESON
2
Jerome Brunet630239d2018-10-05 10:25:47 +02003config MESON64_COMMON
4 bool
Beniamino Galvanid1037e42016-05-08 08:30:16 +02005 select ARM64
Beniamino Galvanib67bfaf2018-06-14 13:43:39 +02006 select CLK
Beniamino Galvanid1037e42016-05-08 08:30:16 +02007 select DM
8 select DM_SERIAL
Neil Armstrong0fca9232018-09-05 15:56:12 +02009 select SYSCON
10 select REGMAP
Anand Moonc528ed92019-12-26 11:33:53 +000011 select PWRSEQ
Jaehoon Chung14907302021-02-16 10:16:55 +090012 select MMC_PWRSEQ
Neil Armstrong2fbfcbb2018-07-27 14:10:00 +020013 select BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +020014 imply CMD_DM
Jerome Brunet630239d2018-10-05 10:25:47 +020015
Jerome Brunetf897c4b2018-10-05 17:00:37 +020016config MESON_GX
17 bool
18 select MESON64_COMMON
19
Jerome Brunet32bacc52018-10-25 16:41:37 +020020choice
21 prompt "Platform select"
22 default MESON_GXBB
23
Jerome Brunet630239d2018-10-05 10:25:47 +020024config MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020025 bool "GXBB"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020026 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020027 help
28 Select this if your SoC is an S905
Beniamino Galvanid1037e42016-05-08 08:30:16 +020029
Neil Armstrong4c2ea412017-10-12 15:50:32 +020030config MESON_GXL
Jerome Brunet32bacc52018-10-25 16:41:37 +020031 bool "GXL"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020032 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020033 help
34 Select this if your SoC is an S905X/D or S805X
Neil Armstrong4c2ea412017-10-12 15:50:32 +020035
Loic Devulderd17b8092018-10-03 12:02:07 +020036config MESON_GXM
Jerome Brunet32bacc52018-10-25 16:41:37 +020037 bool "GXM"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020038 select MESON_GX
Loic Devulderd17b8092018-10-03 12:02:07 +020039 help
Jerome Brunet32bacc52018-10-25 16:41:37 +020040 Select this if your SoC is an S912
Loic Devulderd17b8092018-10-03 12:02:07 +020041
Neil Armstrong0fca9232018-09-05 15:56:12 +020042config MESON_AXG
43 bool "AXG"
44 select MESON64_COMMON
45 help
Jerome Brunet993709a2019-02-08 16:23:20 +010046 Select this if your SoC is an A113X/D
47
48config MESON_G12A
49 bool "G12A"
50 select MESON64_COMMON
51 help
52 Select this if your SoC is an S905X/D2
Neil Armstrong0fca9232018-09-05 15:56:12 +020053
Jerome Brunet630239d2018-10-05 10:25:47 +020054endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020055
Beniamino Galvanid1037e42016-05-08 08:30:16 +020056config SYS_SOC
57 default "meson"
58
59config SYS_MALLOC_F_LEN
60 default 0x1000
61
Jerome Brunet32bacc52018-10-25 16:41:37 +020062config SYS_VENDOR
63 string "Vendor name"
64 default "amlogic"
65 help
66 This option contains information about board name.
67 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
68 be used.
Beniamino Galvanid1037e42016-05-08 08:30:16 +020069
Jerome Brunet32bacc52018-10-25 16:41:37 +020070config SYS_BOARD
71 string "Board name"
Mohammad Rasimfbe29962019-03-23 14:52:22 +030072 default "p200" if MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020073 default "p212" if MESON_GXL
74 default "q200" if MESON_GXM
Neil Armstrong64b6de92018-09-05 15:57:11 +020075 default "s400" if MESON_AXG
Jerome Brunet993709a2019-02-08 16:23:20 +010076 default "u200" if MESON_G12A
Jerome Brunet32bacc52018-10-25 16:41:37 +020077 default ""
78 help
79 This option contains information about board name.
80 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
81 be used.
Neil Armstrong4c2ea412017-10-12 15:50:32 +020082
Jerome Brunet32bacc52018-10-25 16:41:37 +020083config SYS_CONFIG_NAME
84 string "Board configuration name"
85 default "meson64"
86 help
87 This option contains information about board configuration name.
88 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
89 will be used for board configuration.
Loic Devulderd17b8092018-10-03 12:02:07 +020090
Beniamino Galvanid1037e42016-05-08 08:30:16 +020091endif