Simon Glass | 2444dae | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 1 | if ROCKCHIP_RK3288 |
| 2 | |
Kever Yang | 5e28387 | 2019-07-09 22:14:15 +0800 | [diff] [blame] | 3 | choice |
| 4 | prompt "RK3288 board select" |
| 5 | |
Simon Glass | e2e947f | 2015-08-30 16:55:42 -0600 | [diff] [blame] | 6 | config TARGET_CHROMEBOOK_JERRY |
| 7 | bool "Google/Rockchip Veyron-Jerry Chromebook" |
Tom Rini | e5ec481 | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 8 | select BOARD_LATE_INIT |
Simon Glass | e2e947f | 2015-08-30 16:55:42 -0600 | [diff] [blame] | 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 | |
Simon Glass | e70408c | 2016-11-13 14:22:16 -0700 | [diff] [blame] | 15 | config TARGET_CHROMEBIT_MICKEY |
| 16 | bool "Google/Rockchip Veyron-Mickey Chromebit" |
Tom Rini | e5ec481 | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 17 | select BOARD_LATE_INIT |
Simon Glass | e70408c | 2016-11-13 14:22:16 -0700 | [diff] [blame] | 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 | |
Simon Glass | c420ef6 | 2016-11-13 14:24:54 -0700 | [diff] [blame] | 25 | config TARGET_CHROMEBOOK_MINNIE |
| 26 | bool "Google/Rockchip Veyron-Minnie Chromebook" |
Tom Rini | e5ec481 | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 27 | select BOARD_LATE_INIT |
Simon Glass | c420ef6 | 2016-11-13 14:24:54 -0700 | [diff] [blame] | 28 | help |
Martin Michlmayr | 1a58146 | 2016-12-17 17:40:26 -0800 | [diff] [blame] | 29 | Minnie is a RK3288-based convertible clamshell device with 2 USB 3.0 |
Simon Glass | c420ef6 | 2016-11-13 14:24:54 -0700 | [diff] [blame] | 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 | |
Marty E. Plummer | 8e2e601 | 2019-01-05 20:12:08 -0600 | [diff] [blame] | 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 | |
Jernej Skrabec | 43b5c78 | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 47 | config TARGET_EVB_RK3288 |
| 48 | bool "Evb-RK3288" |
| 49 | select BOARD_LATE_INIT |
Kever Yang | ccdcdbb | 2019-07-09 21:58:46 +0800 | [diff] [blame] | 50 | select TPL |
Jernej Skrabec | 43b5c78 | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 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 | help |
| 70 | Firefly is a RK3288-based development board with 2 USB ports, |
| 71 | HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It |
| 72 | also includes on-board eMMC and 1GB of SDRAM. Expansion connectors |
| 73 | provide access to display pins, I2C, SPI, UART and GPIOs. |
| 74 | |
Jernej Skrabec | 7da8680 | 2017-03-30 01:23:14 +0200 | [diff] [blame] | 75 | config TARGET_MIQI_RK3288 |
| 76 | bool "MiQi-RK3288" |
| 77 | select BOARD_LATE_INIT |
| 78 | help |
| 79 | MiQi-RK3288 is a RK3288-based development board with 4 USB 2.0 |
| 80 | ports, HDMI, micro-SD card, 16 GB eMMC and Gigabit Ethernet. It |
| 81 | has 1 or 2 GiB SDRAM. Expansion connectors provide access to |
| 82 | I2C, SPI, UART, GPIOs and fan control. |
| 83 | |
Wadim Egorov | bafcf2d | 2017-06-19 12:36:40 +0200 | [diff] [blame] | 84 | config TARGET_PHYCORE_RK3288 |
| 85 | bool "phyCORE-RK3288" |
| 86 | select BOARD_LATE_INIT |
| 87 | help |
| 88 | Add basic support for the PCM-947 carrier board, a RK3288 based |
| 89 | development board made by PHYTEC. This board works in a combination |
| 90 | with the phyCORE-RK3288 System on Module. |
| 91 | |
Jernej Skrabec | 43b5c78 | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 92 | config TARGET_POPMETAL_RK3288 |
| 93 | bool "PopMetal-RK3288" |
| 94 | select BOARD_LATE_INIT |
| 95 | help |
| 96 | PopMetal is a RK3288-based development board with 3 USB host ports, |
| 97 | 1 micro USB OTG port, HDMI, VGA, micro-SD card, audio, WiFi, Gigabit |
| 98 | Ethernet and lots of sensors. It also includes on-board 8 GeMMC and |
| 99 | 2GB DDR3. Expansion connectors provide access to I2C, SPI, UART, |
| 100 | GPIOs and display interface. |
| 101 | |
Jagan Teki | d55af07 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 102 | config TARGET_VYASA_RK3288 |
| 103 | bool "Vyasa-RK3288" |
| 104 | select BOARD_LATE_INIT |
Jagan Teki | 532cb7f | 2017-09-27 23:03:12 +0530 | [diff] [blame] | 105 | select ROCKCHIP_BROM_HELPER |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 106 | select TPL |
Jagan Teki | d55af07 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 107 | help |
| 108 | Vyasa is a RK3288-based development board with 2 USB ports, |
| 109 | HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It |
| 110 | also includes on-board eMMC and 2GB of SDRAM. Expansion connectors |
| 111 | provide access to display pins, I2C, SPI, UART and GPIOs. |
| 112 | |
Simon Glass | 7c1058f | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 113 | config TARGET_ROCK2 |
| 114 | bool "Radxa Rock 2" |
Tom Rini | e5ec481 | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 115 | select BOARD_LATE_INIT |
Simon Glass | 7c1058f | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 116 | help |
| 117 | Rock 2 is a SOM and base-board combination based on RK3288. It |
| 118 | includes Ethernet, HDMI, 3 USB, micro-SD, audio, SATA, WiFi and |
| 119 | space for a real-time-clock battery. There is also an expansion |
| 120 | interface which provides access to many pins. |
| 121 | |
Jernej Skrabec | 43b5c78 | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 122 | config TARGET_TINKER_RK3288 |
| 123 | bool "Tinker-RK3288" |
| 124 | select BOARD_LATE_INIT |
Kever Yang | 665ebca | 2019-07-01 11:49:15 +0800 | [diff] [blame] | 125 | select TPL |
Jernej Skrabec | 43b5c78 | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 126 | help |
| 127 | Tinker is a RK3288-based development board with 2 USB ports, HDMI, |
| 128 | micro-SD card, audio, Gigabit Ethernet. It also includes on-board |
| 129 | 8GB eMMC and 2GB of SDRAM. Expansion connectors provide access to |
| 130 | I2C, SPI, UART, GPIOs. |
| 131 | |
Kever Yang | 5e28387 | 2019-07-09 22:14:15 +0800 | [diff] [blame] | 132 | endchoice |
| 133 | |
Simon Glass | dae594f | 2016-01-21 19:45:17 -0700 | [diff] [blame] | 134 | config ROCKCHIP_FAST_SPL |
| 135 | bool "Change the CPU to full speed in SPL" |
| 136 | depends on TARGET_CHROMEBOOK_JERRY |
| 137 | help |
| 138 | Some boards want to boot as fast as possible. We can increase the |
| 139 | CPU frequency in SPL if the power supply is configured to the correct |
| 140 | voltage. This option is only available on boards which support it |
| 141 | and have the required PMIC code. |
| 142 | |
Kever Yang | 476dcb6 | 2019-07-09 22:14:20 +0800 | [diff] [blame] | 143 | config ROCKCHIP_BOOT_MODE_REG |
| 144 | default 0xff730094 |
| 145 | |
Simon Glass | 2444dae | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 146 | config SYS_SOC |
Kever Yang | b1b449b | 2019-03-28 11:01:24 +0800 | [diff] [blame] | 147 | default "rk3288" |
Simon Glass | 2444dae | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 148 | |
huang lin | 8117803 | 2015-11-17 14:20:10 +0800 | [diff] [blame] | 149 | config SYS_MALLOC_F_LEN |
Kever Yang | 9489b5c | 2019-07-09 22:14:22 +0800 | [diff] [blame] | 150 | default 0x2000 |
huang lin | 8117803 | 2015-11-17 14:20:10 +0800 | [diff] [blame] | 151 | |
Simon Glass | d3662df | 2016-09-12 23:18:34 -0600 | [diff] [blame] | 152 | config SPL_DRIVERS_MISC_SUPPORT |
| 153 | default y |
| 154 | |
Simon Glass | 77d2f7f | 2016-09-12 23:18:41 -0600 | [diff] [blame] | 155 | config SPL_LIBCOMMON_SUPPORT |
| 156 | default y |
| 157 | |
Simon Glass | cc4288e | 2016-09-12 23:18:43 -0600 | [diff] [blame] | 158 | config SPL_LIBGENERIC_SUPPORT |
| 159 | default y |
| 160 | |
Simon Glass | e00f76c | 2016-09-12 23:18:56 -0600 | [diff] [blame] | 161 | config SPL_SERIAL_SUPPORT |
| 162 | default y |
| 163 | |
Kever Yang | 443fe40 | 2019-07-09 21:58:45 +0800 | [diff] [blame] | 164 | config TPL_LDSCRIPT |
| 165 | default "arch/arm/mach-rockchip/u-boot-tpl.lds" |
| 166 | |
Kever Yang | 5959126 | 2019-07-09 22:14:17 +0800 | [diff] [blame] | 167 | config TPL_MAX_SIZE |
| 168 | default 32768 |
| 169 | |
| 170 | config TPL_STACK |
| 171 | default 0xff718000 |
| 172 | |
| 173 | config TPL_TEXT_BASE |
| 174 | default 0xff704000 |
| 175 | |
Jagan Teki | d55af07 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 176 | source "board/amarula/vyasa-rk3288/Kconfig" |
| 177 | |
Xu Ziyuan | 1c62d99 | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 178 | source "board/chipspark/popmetal_rk3288/Kconfig" |
Simon Glass | e2e947f | 2015-08-30 16:55:42 -0600 | [diff] [blame] | 179 | |
Simon Glass | 17aa548 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 180 | source "board/firefly/firefly-rk3288/Kconfig" |
| 181 | |
Simon Glass | 5e9b150 | 2016-11-13 14:22:10 -0700 | [diff] [blame] | 182 | source "board/google/veyron/Kconfig" |
Xu Ziyuan | 1c62d99 | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 183 | |
Jernej Skrabec | 7da8680 | 2017-03-30 01:23:14 +0200 | [diff] [blame] | 184 | source "board/mqmaker/miqi_rk3288/Kconfig" |
| 185 | |
Wadim Egorov | bafcf2d | 2017-06-19 12:36:40 +0200 | [diff] [blame] | 186 | source "board/phytec/phycore_rk3288/Kconfig" |
| 187 | |
Simon Glass | 7c1058f | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 188 | source "board/radxa/rock2/Kconfig" |
| 189 | |
jk.kernel@gmail.com | cba6bb1 | 2016-07-26 18:28:27 +0800 | [diff] [blame] | 190 | source "board/rockchip/evb_rk3288/Kconfig" |
Xu Ziyuan | 744368d | 2016-07-05 18:06:30 +0800 | [diff] [blame] | 191 | |
jk.kernel@gmail.com | d7ca67b | 2016-07-26 18:28:29 +0800 | [diff] [blame] | 192 | source "board/rockchip/fennec_rk3288/Kconfig" |
| 193 | |
Eddie Cai | 6f27976 | 2017-01-18 11:03:54 +0800 | [diff] [blame] | 194 | source "board/rockchip/tinker_rk3288/Kconfig" |
jk.kernel@gmail.com | dd63fbc | 2016-07-26 18:28:30 +0800 | [diff] [blame] | 195 | |
Simon Glass | 2444dae | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 196 | endif |