blob: bb715e9d0e6b31cb981c7b194f2a12bc943ff01d [file] [log] [blame]
Simon Glass2444dae2015-08-30 16:55:38 -06001if ROCKCHIP_RK3288
2
Kever Yang5e283872019-07-09 22:14:15 +08003choice
4 prompt "RK3288 board select"
5
Simon Glasse2e947f2015-08-30 16:55:42 -06006config TARGET_CHROMEBOOK_JERRY
7 bool "Google/Rockchip Veyron-Jerry Chromebook"
Simon Glass9b312e22020-07-19 13:55:57 -06008 select HAS_ROM
Tom Rinie5ec4812017-01-22 19:43:11 -05009 select BOARD_LATE_INIT
Simon Glass9b312e22020-07-19 13:55:57 -060010 select ROCKCHIP_SPI_IMAGE
Simon Glasse2e947f2015-08-30 16:55:42 -060011 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
Simon Glasse70408c2016-11-13 14:22:16 -070017config TARGET_CHROMEBIT_MICKEY
18 bool "Google/Rockchip Veyron-Mickey Chromebit"
Tom Rinie5ec4812017-01-22 19:43:11 -050019 select BOARD_LATE_INIT
Simon Glasse70408c2016-11-13 14:22:16 -070020 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
Simon Glassc420ef62016-11-13 14:24:54 -070027config TARGET_CHROMEBOOK_MINNIE
28 bool "Google/Rockchip Veyron-Minnie Chromebook"
Tom Rinie5ec4812017-01-22 19:43:11 -050029 select BOARD_LATE_INIT
Simon Glassc420ef62016-11-13 14:24:54 -070030 help
Martin Michlmayr1a581462016-12-17 17:40:26 -080031 Minnie is a RK3288-based convertible clamshell device with 2 USB 3.0
Simon Glassc420ef62016-11-13 14:24:54 -070032 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
Marty E. Plummer8e2e6012019-01-05 20:12:08 -060038config 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
Jernej Skrabec43b5c782017-03-30 01:23:13 +020049config TARGET_EVB_RK3288
50 bool "Evb-RK3288"
51 select BOARD_LATE_INIT
Kever Yangccdcdbb2019-07-09 21:58:46 +080052 select TPL
Jernej Skrabec43b5c782017-03-30 01:23:13 +020053 help
54 EVB-RK3288 is a RK3288-based development board with 2 USB ports,
55 HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It
56 also includes on-board eMMC and 2GB of SDRAM. Expansion connectors
57 provide access to display pins, I2C, SPI, UART and GPIOs.
58
59config TARGET_FENNEC_RK3288
60 bool "Fennec-RK3288"
61 select BOARD_LATE_INIT
62 help
63 Fennec is a RK3288-based development board with 2 USB ports,
64 HDMI, micro-SD card, audio, WiFi and Gigabit Ethernet. It also
65 includes on-board eMMC and 2GB of SDRAM. Expansion connectors
66 provide access to display pins, I2C, SPI, UART and GPIOs.
67
68config TARGET_FIREFLY_RK3288
69 bool "Firefly-RK3288"
70 select BOARD_LATE_INIT
Kever Yang57d55db2019-07-22 19:59:24 +080071 select SPL_BOARD_INIT if SPL
Kever Yangf74a0892019-10-16 16:50:03 +080072 select TPL
Jernej Skrabec43b5c782017-03-30 01:23:13 +020073 help
74 Firefly is a RK3288-based development board with 2 USB ports,
75 HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It
76 also includes on-board eMMC and 1GB of SDRAM. Expansion connectors
77 provide access to display pins, I2C, SPI, UART and GPIOs.
78
Jernej Skrabec7da86802017-03-30 01:23:14 +020079config TARGET_MIQI_RK3288
80 bool "MiQi-RK3288"
81 select BOARD_LATE_INIT
82 help
83 MiQi-RK3288 is a RK3288-based development board with 4 USB 2.0
84 ports, HDMI, micro-SD card, 16 GB eMMC and Gigabit Ethernet. It
85 has 1 or 2 GiB SDRAM. Expansion connectors provide access to
86 I2C, SPI, UART, GPIOs and fan control.
87
Wadim Egorovbafcf2d2017-06-19 12:36:40 +020088config TARGET_PHYCORE_RK3288
89 bool "phyCORE-RK3288"
90 select BOARD_LATE_INIT
Kever Yang8f5b5aa2019-07-22 19:59:25 +080091 select SPL_BOARD_INIT if SPL
Wadim Egorovbafcf2d2017-06-19 12:36:40 +020092 help
93 Add basic support for the PCM-947 carrier board, a RK3288 based
94 development board made by PHYTEC. This board works in a combination
95 with the phyCORE-RK3288 System on Module.
96
Jernej Skrabec43b5c782017-03-30 01:23:13 +020097config TARGET_POPMETAL_RK3288
98 bool "PopMetal-RK3288"
99 select BOARD_LATE_INIT
100 help
101 PopMetal is a RK3288-based development board with 3 USB host ports,
102 1 micro USB OTG port, HDMI, VGA, micro-SD card, audio, WiFi, Gigabit
103 Ethernet and lots of sensors. It also includes on-board 8 GeMMC and
104 2GB DDR3. Expansion connectors provide access to I2C, SPI, UART,
105 GPIOs and display interface.
106
Jagan Tekid55af072017-09-12 17:15:47 +0530107config TARGET_VYASA_RK3288
108 bool "Vyasa-RK3288"
109 select BOARD_LATE_INIT
Michal Simek58008cb2018-07-23 15:55:15 +0200110 select TPL
Jagan Tekid55af072017-09-12 17:15:47 +0530111 help
112 Vyasa is a RK3288-based development board with 2 USB ports,
113 HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It
114 also includes on-board eMMC and 2GB of SDRAM. Expansion connectors
115 provide access to display pins, I2C, SPI, UART and GPIOs.
116
Simon Glass7c1058f2016-01-21 19:45:24 -0700117config TARGET_ROCK2
118 bool "Radxa Rock 2"
Tom Rinie5ec4812017-01-22 19:43:11 -0500119 select BOARD_LATE_INIT
Simon Glass7c1058f2016-01-21 19:45:24 -0700120 help
121 Rock 2 is a SOM and base-board combination based on RK3288. It
122 includes Ethernet, HDMI, 3 USB, micro-SD, audio, SATA, WiFi and
123 space for a real-time-clock battery. There is also an expansion
124 interface which provides access to many pins.
125
Jernej Skrabec43b5c782017-03-30 01:23:13 +0200126config TARGET_TINKER_RK3288
127 bool "Tinker-RK3288"
128 select BOARD_LATE_INIT
Kever Yang665ebca2019-07-01 11:49:15 +0800129 select TPL
Jernej Skrabec43b5c782017-03-30 01:23:13 +0200130 help
131 Tinker is a RK3288-based development board with 2 USB ports, HDMI,
132 micro-SD card, audio, Gigabit Ethernet. It also includes on-board
133 8GB eMMC and 2GB of SDRAM. Expansion connectors provide access to
134 I2C, SPI, UART, GPIOs.
135
Kever Yang5e283872019-07-09 22:14:15 +0800136endchoice
137
Simon Glassdae594f2016-01-21 19:45:17 -0700138config ROCKCHIP_FAST_SPL
139 bool "Change the CPU to full speed in SPL"
140 depends on TARGET_CHROMEBOOK_JERRY
141 help
142 Some boards want to boot as fast as possible. We can increase the
143 CPU frequency in SPL if the power supply is configured to the correct
144 voltage. This option is only available on boards which support it
145 and have the required PMIC code.
146
Kever Yang476dcb62019-07-09 22:14:20 +0800147config ROCKCHIP_BOOT_MODE_REG
148 default 0xff730094
149
Simon Glass2444dae2015-08-30 16:55:38 -0600150config SYS_SOC
Kever Yangb1b449b2019-03-28 11:01:24 +0800151 default "rk3288"
Simon Glass2444dae2015-08-30 16:55:38 -0600152
huang lin81178032015-11-17 14:20:10 +0800153config SYS_MALLOC_F_LEN
Kever Yang9489b5c2019-07-09 22:14:22 +0800154 default 0x2000
huang lin81178032015-11-17 14:20:10 +0800155
Simon Glassd3662df2016-09-12 23:18:34 -0600156config SPL_DRIVERS_MISC_SUPPORT
157 default y
158
Simon Glass77d2f7f2016-09-12 23:18:41 -0600159config SPL_LIBCOMMON_SUPPORT
160 default y
161
Simon Glasscc4288e2016-09-12 23:18:43 -0600162config SPL_LIBGENERIC_SUPPORT
163 default y
164
Simon Glasse00f76c2016-09-12 23:18:56 -0600165config SPL_SERIAL_SUPPORT
166 default y
167
Kever Yang443fe402019-07-09 21:58:45 +0800168config TPL_LDSCRIPT
169 default "arch/arm/mach-rockchip/u-boot-tpl.lds"
170
Kever Yang59591262019-07-09 22:14:17 +0800171config TPL_MAX_SIZE
172 default 32768
173
174config TPL_STACK
175 default 0xff718000
176
177config TPL_TEXT_BASE
178 default 0xff704000
179
Jagan Tekid55af072017-09-12 17:15:47 +0530180source "board/amarula/vyasa-rk3288/Kconfig"
181
Xu Ziyuan1c62d992016-08-01 08:46:19 +0800182source "board/chipspark/popmetal_rk3288/Kconfig"
Simon Glasse2e947f2015-08-30 16:55:42 -0600183
Simon Glass17aa5482015-08-30 16:55:41 -0600184source "board/firefly/firefly-rk3288/Kconfig"
185
Simon Glass5e9b1502016-11-13 14:22:10 -0700186source "board/google/veyron/Kconfig"
Xu Ziyuan1c62d992016-08-01 08:46:19 +0800187
Jernej Skrabec7da86802017-03-30 01:23:14 +0200188source "board/mqmaker/miqi_rk3288/Kconfig"
189
Wadim Egorovbafcf2d2017-06-19 12:36:40 +0200190source "board/phytec/phycore_rk3288/Kconfig"
191
Simon Glass7c1058f2016-01-21 19:45:24 -0700192source "board/radxa/rock2/Kconfig"
193
jk.kernel@gmail.comcba6bb12016-07-26 18:28:27 +0800194source "board/rockchip/evb_rk3288/Kconfig"
Xu Ziyuan744368d2016-07-05 18:06:30 +0800195
Eddie Cai6f279762017-01-18 11:03:54 +0800196source "board/rockchip/tinker_rk3288/Kconfig"
jk.kernel@gmail.comdd63fbc2016-07-26 18:28:30 +0800197
Simon Glass2444dae2015-08-30 16:55:38 -0600198endif