rockchip: Kconfig: move ROCKCHIP_BOOT_MODE_REG to soc Kconfig
[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         help
51           EVB-RK3288 is a RK3288-based development board with 2 USB ports,
52           HDMI, VGA, micro-SD card, audio, WiFi  and Gigabit Ethernet, It
53           also includes on-board eMMC and 2GB of SDRAM. Expansion connectors
54           provide access to display pins, I2C, SPI, UART and GPIOs.
55
56 config TARGET_FENNEC_RK3288
57         bool "Fennec-RK3288"
58         select BOARD_LATE_INIT
59         help
60           Fennec is a RK3288-based development board with 2 USB ports,
61           HDMI, micro-SD card, audio, WiFi and Gigabit Ethernet. It also
62           includes on-board eMMC and 2GB of SDRAM. Expansion connectors
63           provide access to display pins, I2C, SPI, UART and GPIOs.
64
65 config TARGET_FIREFLY_RK3288
66         bool "Firefly-RK3288"
67         select BOARD_LATE_INIT
68         help
69           Firefly is a RK3288-based development board with 2 USB ports,
70           HDMI, VGA, micro-SD card, audio, WiFi  and Gigabit Ethernet, It
71           also includes on-board eMMC and 1GB of SDRAM. Expansion connectors
72           provide access to display pins, I2C, SPI, UART and GPIOs.
73
74 config TARGET_MIQI_RK3288
75         bool "MiQi-RK3288"
76         select BOARD_LATE_INIT
77         help
78           MiQi-RK3288 is a RK3288-based development board with 4 USB 2.0
79           ports, HDMI, micro-SD card, 16 GB eMMC and Gigabit Ethernet. It
80           has 1 or 2 GiB SDRAM. Expansion connectors provide access to
81           I2C, SPI, UART, GPIOs and fan control.
82
83 config TARGET_PHYCORE_RK3288
84         bool "phyCORE-RK3288"
85         select BOARD_LATE_INIT
86         help
87           Add basic support for the PCM-947 carrier board, a RK3288 based
88           development board made by PHYTEC. This board works in a combination
89           with the phyCORE-RK3288 System on Module.
90
91 config TARGET_POPMETAL_RK3288
92         bool "PopMetal-RK3288"
93         select BOARD_LATE_INIT
94         help
95           PopMetal is a RK3288-based development board with 3 USB host ports,
96           1 micro USB OTG port, HDMI, VGA, micro-SD card, audio, WiFi, Gigabit
97           Ethernet and lots of sensors. It also includes on-board 8 GeMMC and
98           2GB DDR3. Expansion connectors provide access to I2C, SPI, UART,
99           GPIOs and display interface.
100
101 config TARGET_VYASA_RK3288
102         bool "Vyasa-RK3288"
103         select BOARD_LATE_INIT
104         select ROCKCHIP_BROM_HELPER
105         select TPL
106         help
107           Vyasa is a RK3288-based development board with 2 USB ports,
108           HDMI, VGA, micro-SD card, audio, WiFi  and Gigabit Ethernet, It
109           also includes on-board eMMC and 2GB of SDRAM. Expansion connectors
110           provide access to display pins, I2C, SPI, UART and GPIOs.
111
112 config TARGET_ROCK2
113         bool "Radxa Rock 2"
114         select BOARD_LATE_INIT
115         help
116           Rock 2 is a SOM and base-board combination based on RK3288. It
117           includes Ethernet, HDMI, 3 USB, micro-SD, audio, SATA, WiFi and
118           space for a real-time-clock battery. There is also an expansion
119           interface which provides access to many pins.
120
121 config TARGET_TINKER_RK3288
122         bool "Tinker-RK3288"
123         select BOARD_LATE_INIT
124         select TPL
125         help
126           Tinker is a RK3288-based development board with 2 USB ports, HDMI,
127           micro-SD card, audio, Gigabit Ethernet. It also includes on-board
128           8GB eMMC and 2GB of SDRAM. Expansion connectors provide access to
129           I2C, SPI, UART, GPIOs.
130
131 endchoice
132
133 config ROCKCHIP_FAST_SPL
134         bool "Change the CPU to full speed in SPL"
135         depends on TARGET_CHROMEBOOK_JERRY
136         help
137           Some boards want to boot as fast as possible. We can increase the
138           CPU frequency in SPL if the power supply is configured to the correct
139           voltage. This option is only available on boards which support it
140           and have the required PMIC code.
141
142 config ROCKCHIP_BOOT_MODE_REG
143         default 0xff730094
144
145 config SYS_SOC
146         default "rk3288"
147
148 config SYS_MALLOC_F_LEN
149         default 0x0800
150
151 config SPL_DRIVERS_MISC_SUPPORT
152         default y
153
154 config SPL_LIBCOMMON_SUPPORT
155         default y
156
157 config SPL_LIBGENERIC_SUPPORT
158         default y
159
160 config SPL_SERIAL_SUPPORT
161         default y
162
163 config TPL_MAX_SIZE
164         default 32768
165
166 config TPL_STACK
167         default 0xff718000
168
169 config TPL_TEXT_BASE
170         default 0xff704000
171
172 source "board/amarula/vyasa-rk3288/Kconfig"
173
174 source "board/chipspark/popmetal_rk3288/Kconfig"
175
176 source "board/firefly/firefly-rk3288/Kconfig"
177
178 source "board/google/veyron/Kconfig"
179
180 source "board/mqmaker/miqi_rk3288/Kconfig"
181
182 source "board/phytec/phycore_rk3288/Kconfig"
183
184 source "board/radxa/rock2/Kconfig"
185
186 source "board/rockchip/evb_rk3288/Kconfig"
187
188 source "board/rockchip/fennec_rk3288/Kconfig"
189
190 source "board/rockchip/tinker_rk3288/Kconfig"
191
192 endif