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