Merge https://gitlab.denx.de/u-boot/custodians/u-boot-socfpga
[platform/kernel/u-boot.git] / arch / arm / mach-rockchip / rk3288 / Kconfig
1 if ROCKCHIP_RK3288
2
3 choice
4         prompt "RK3288 board select"
5
6 config TARGET_CHROMEBOOK_JERRY
7         bool "Google/Rockchip Veyron-Jerry Chromebook"
8         select BOARD_LATE_INIT
9         help
10           Jerry is a RK3288-based clamshell device with 2 USB 3.0 ports,
11           HDMI, an 11.9 inch EDP display, micro-SD card, touchpad and
12           WiFi. It includes a Chrome OS EC (Cortex-M3) to provide access to
13           the keyboard and battery functions.
14
15 config TARGET_CHROMEBIT_MICKEY
16         bool "Google/Rockchip Veyron-Mickey Chromebit"
17         select BOARD_LATE_INIT
18         help
19           Mickey is a small RK3288-based device with one USB 3.0 port, HDMI
20           and WiFi. It has a separate power port and is designed to connect
21           to the HDMI input of a monitor or TV. It has no internal battery.
22           Typically a USB hub or wireless keyboard/touchpad is used to get
23           keyboard and mouse access.
24
25 config TARGET_CHROMEBOOK_MINNIE
26         bool "Google/Rockchip Veyron-Minnie Chromebook"
27         select BOARD_LATE_INIT
28         help
29           Minnie is a RK3288-based convertible clamshell device with 2 USB 3.0
30           ports, micro HDMI, a 10.1-inch 1280x800 EDP display, micro-SD card,
31           HD camera, touchpad, WiFi and Bluetooth. It includes a Chrome OS
32           EC (Cortex-M3) to provide access to the keyboard and battery
33           functions. It includes 2 or 4GB of SDRAM and 16 or 32GB of
34           internal MMC. The product name is ASUS Chromebook Flip.
35
36 config TARGET_CHROMEBOOK_SPEEDY
37         bool "Google/Rockchip Veyron-Speedy Chromebook"
38         select BOARD_LATE_INIT
39         help
40           Speedy is a RK3288-based clamshell device with 2 USB 2.0 ports,
41           micro HDMI, an 11.6 inch display, micro-SD card,
42           HD camera, touchpad, wifi and Bluetooth. It includes a Chrome OS
43           EC (Cortex-M3) to provide access to the keyboard and battery
44           functions. It includes 2 or 4GB of SDRAM and 16GB of internal MMC.
45           The product name is Asus Chromebook C201PA.
46
47 config TARGET_EVB_RK3288
48         bool "Evb-RK3288"
49         select BOARD_LATE_INIT
50         select TPL
51         help
52           EVB-RK3288 is a RK3288-based development board with 2 USB ports,
53           HDMI, VGA, micro-SD card, audio, WiFi  and Gigabit Ethernet, It
54           also includes on-board eMMC and 2GB of SDRAM. Expansion connectors
55           provide access to display pins, I2C, SPI, UART and GPIOs.
56
57 config TARGET_FENNEC_RK3288
58         bool "Fennec-RK3288"
59         select BOARD_LATE_INIT
60         help
61           Fennec is a RK3288-based development board with 2 USB ports,
62           HDMI, micro-SD card, audio, WiFi and Gigabit Ethernet. It also
63           includes on-board eMMC and 2GB of SDRAM. Expansion connectors
64           provide access to display pins, I2C, SPI, UART and GPIOs.
65
66 config TARGET_FIREFLY_RK3288
67         bool "Firefly-RK3288"
68         select BOARD_LATE_INIT
69         select SPL_BOARD_INIT if SPL
70         help
71           Firefly is a RK3288-based development board with 2 USB ports,
72           HDMI, VGA, micro-SD card, audio, WiFi  and Gigabit Ethernet, It
73           also includes on-board eMMC and 1GB of SDRAM. Expansion connectors
74           provide access to display pins, I2C, SPI, UART and GPIOs.
75
76 config TARGET_MIQI_RK3288
77         bool "MiQi-RK3288"
78         select BOARD_LATE_INIT
79         help
80           MiQi-RK3288 is a RK3288-based development board with 4 USB 2.0
81           ports, HDMI, micro-SD card, 16 GB eMMC and Gigabit Ethernet. It
82           has 1 or 2 GiB SDRAM. Expansion connectors provide access to
83           I2C, SPI, UART, GPIOs and fan control.
84
85 config TARGET_PHYCORE_RK3288
86         bool "phyCORE-RK3288"
87         select BOARD_LATE_INIT
88         select SPL_BOARD_INIT if SPL
89         help
90           Add basic support for the PCM-947 carrier board, a RK3288 based
91           development board made by PHYTEC. This board works in a combination
92           with the phyCORE-RK3288 System on Module.
93
94 config TARGET_POPMETAL_RK3288
95         bool "PopMetal-RK3288"
96         select BOARD_LATE_INIT
97         help
98           PopMetal is a RK3288-based development board with 3 USB host ports,
99           1 micro USB OTG port, HDMI, VGA, micro-SD card, audio, WiFi, Gigabit
100           Ethernet and lots of sensors. It also includes on-board 8 GeMMC and
101           2GB DDR3. Expansion connectors provide access to I2C, SPI, UART,
102           GPIOs and display interface.
103
104 config TARGET_VYASA_RK3288
105         bool "Vyasa-RK3288"
106         select BOARD_LATE_INIT
107         select ROCKCHIP_BROM_HELPER
108         select TPL
109         help
110           Vyasa is a RK3288-based development board with 2 USB ports,
111           HDMI, VGA, micro-SD card, audio, WiFi  and Gigabit Ethernet, It
112           also includes on-board eMMC and 2GB of SDRAM. Expansion connectors
113           provide access to display pins, I2C, SPI, UART and GPIOs.
114
115 config TARGET_ROCK2
116         bool "Radxa Rock 2"
117         select BOARD_LATE_INIT
118         help
119           Rock 2 is a SOM and base-board combination based on RK3288. It
120           includes Ethernet, HDMI, 3 USB, micro-SD, audio, SATA, WiFi and
121           space for a real-time-clock battery. There is also an expansion
122           interface which provides access to many pins.
123
124 config TARGET_TINKER_RK3288
125         bool "Tinker-RK3288"
126         select BOARD_LATE_INIT
127         select TPL
128         help
129           Tinker is a RK3288-based development board with 2 USB ports, HDMI,
130           micro-SD card, audio, Gigabit Ethernet. It also includes on-board
131           8GB eMMC and 2GB of SDRAM. Expansion connectors provide access to
132           I2C, SPI, UART, GPIOs.
133
134 endchoice
135
136 config ROCKCHIP_FAST_SPL
137         bool "Change the CPU to full speed in SPL"
138         depends on TARGET_CHROMEBOOK_JERRY
139         help
140           Some boards want to boot as fast as possible. We can increase the
141           CPU frequency in SPL if the power supply is configured to the correct
142           voltage. This option is only available on boards which support it
143           and have the required PMIC code.
144
145 config ROCKCHIP_BOOT_MODE_REG
146         default 0xff730094
147
148 config SYS_SOC
149         default "rk3288"
150
151 config SYS_MALLOC_F_LEN
152         default 0x2000
153
154 config SPL_DRIVERS_MISC_SUPPORT
155         default y
156
157 config SPL_LIBCOMMON_SUPPORT
158         default y
159
160 config SPL_LIBGENERIC_SUPPORT
161         default y
162
163 config SPL_SERIAL_SUPPORT
164         default y
165
166 config TPL_LDSCRIPT
167         default "arch/arm/mach-rockchip/u-boot-tpl.lds"
168
169 config TPL_MAX_SIZE
170         default 32768
171
172 config TPL_STACK
173         default 0xff718000
174
175 config TPL_TEXT_BASE
176         default 0xff704000
177
178 source "board/amarula/vyasa-rk3288/Kconfig"
179
180 source "board/chipspark/popmetal_rk3288/Kconfig"
181
182 source "board/firefly/firefly-rk3288/Kconfig"
183
184 source "board/google/veyron/Kconfig"
185
186 source "board/mqmaker/miqi_rk3288/Kconfig"
187
188 source "board/phytec/phycore_rk3288/Kconfig"
189
190 source "board/radxa/rock2/Kconfig"
191
192 source "board/rockchip/evb_rk3288/Kconfig"
193
194 source "board/rockchip/fennec_rk3288/Kconfig"
195
196 source "board/rockchip/tinker_rk3288/Kconfig"
197
198 endif