blob: 513a33dae2045f08829c8dd2af5c6a4ed1d210a7 [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
Neil Armstrong2fbfcbb2018-07-27 14:10:00 +020012 select BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +020013 imply CMD_DM
Jerome Brunet630239d2018-10-05 10:25:47 +020014
Jerome Brunetf897c4b2018-10-05 17:00:37 +020015config MESON_GX
16 bool
17 select MESON64_COMMON
18
Jerome Brunet32bacc52018-10-25 16:41:37 +020019choice
20 prompt "Platform select"
21 default MESON_GXBB
22
Jerome Brunet630239d2018-10-05 10:25:47 +020023config MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020024 bool "GXBB"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020025 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020026 help
27 Select this if your SoC is an S905
Beniamino Galvanid1037e42016-05-08 08:30:16 +020028
Neil Armstrong4c2ea412017-10-12 15:50:32 +020029config MESON_GXL
Jerome Brunet32bacc52018-10-25 16:41:37 +020030 bool "GXL"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020031 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020032 help
33 Select this if your SoC is an S905X/D or S805X
Neil Armstrong4c2ea412017-10-12 15:50:32 +020034
Loic Devulderd17b8092018-10-03 12:02:07 +020035config MESON_GXM
Jerome Brunet32bacc52018-10-25 16:41:37 +020036 bool "GXM"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020037 select MESON_GX
Loic Devulderd17b8092018-10-03 12:02:07 +020038 help
Jerome Brunet32bacc52018-10-25 16:41:37 +020039 Select this if your SoC is an S912
Loic Devulderd17b8092018-10-03 12:02:07 +020040
Neil Armstrong0fca9232018-09-05 15:56:12 +020041config MESON_AXG
42 bool "AXG"
43 select MESON64_COMMON
44 help
Jerome Brunet993709a2019-02-08 16:23:20 +010045 Select this if your SoC is an A113X/D
46
47config MESON_G12A
48 bool "G12A"
49 select MESON64_COMMON
50 help
51 Select this if your SoC is an S905X/D2
Neil Armstrong0fca9232018-09-05 15:56:12 +020052
Jerome Brunet630239d2018-10-05 10:25:47 +020053endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020054
Beniamino Galvanid1037e42016-05-08 08:30:16 +020055config SYS_SOC
56 default "meson"
57
58config SYS_MALLOC_F_LEN
59 default 0x1000
60
Jerome Brunet32bacc52018-10-25 16:41:37 +020061config SYS_VENDOR
62 string "Vendor name"
63 default "amlogic"
64 help
65 This option contains information about board name.
66 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
67 be used.
Beniamino Galvanid1037e42016-05-08 08:30:16 +020068
Jerome Brunet32bacc52018-10-25 16:41:37 +020069config SYS_BOARD
70 string "Board name"
Mohammad Rasimfbe29962019-03-23 14:52:22 +030071 default "p200" if MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020072 default "p212" if MESON_GXL
73 default "q200" if MESON_GXM
Neil Armstrong64b6de92018-09-05 15:57:11 +020074 default "s400" if MESON_AXG
Jerome Brunet993709a2019-02-08 16:23:20 +010075 default "u200" if MESON_G12A
Jerome Brunet32bacc52018-10-25 16:41:37 +020076 default ""
77 help
78 This option contains information about board name.
79 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
80 be used.
Neil Armstrong4c2ea412017-10-12 15:50:32 +020081
Jerome Brunet32bacc52018-10-25 16:41:37 +020082config SYS_CONFIG_NAME
83 string "Board configuration name"
84 default "meson64"
85 help
86 This option contains information about board configuration name.
87 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
88 will be used for board configuration.
Loic Devulderd17b8092018-10-03 12:02:07 +020089
Beniamino Galvanid1037e42016-05-08 08:30:16 +020090endif