Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 1 | if ROCKCHIP_RK3288 |
| 2 | |
Kever Yang | 06ff5fc | 2019-07-09 22:14:15 +0800 | [diff] [blame] | 3 | choice |
| 4 | prompt "RK3288 board select" |
| 5 | |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 6 | config TARGET_CHROMEBOOK_JERRY |
| 7 | bool "Google/Rockchip Veyron-Jerry Chromebook" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 8 | select BOARD_LATE_INIT |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 9 | help |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 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. |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 35 | |
Marty E. Plummer | 2708698 | 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 | |
Xu Ziyuan | 3da09a8 | 2016-07-05 18:06:30 +0800 | [diff] [blame] | 47 | config TARGET_EVB_RK3288 |
| 48 | bool "Evb-RK3288" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 49 | select BOARD_LATE_INIT |
Xu Ziyuan | 3da09a8 | 2016-07-05 18:06:30 +0800 | [diff] [blame] | 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 | |
jk.kernel@gmail.com | b1aeb09 | 2016-07-26 18:28:29 +0800 | [diff] [blame] | 56 | config TARGET_FENNEC_RK3288 |
| 57 | bool "Fennec-RK3288" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 58 | select BOARD_LATE_INIT |
jk.kernel@gmail.com | b1aeb09 | 2016-07-26 18:28:29 +0800 | [diff] [blame] | 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 | |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 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 | |
Jernej Skrabec | 971e53a | 2017-03-30 01:23:14 +0200 | [diff] [blame] | 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 | |
Wadim Egorov | 6ee2d01 | 2017-06-19 12:36:40 +0200 | [diff] [blame] | 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 | |
jk.kernel@gmail.com | 7a614ac | 2016-07-26 18:28:30 +0800 | [diff] [blame] | 91 | config TARGET_POPMETAL_RK3288 |
| 92 | bool "PopMetal-RK3288" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 93 | select BOARD_LATE_INIT |
jk.kernel@gmail.com | 7a614ac | 2016-07-26 18:28:30 +0800 | [diff] [blame] | 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 | |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 101 | config TARGET_VYASA_RK3288 |
| 102 | bool "Vyasa-RK3288" |
| 103 | select BOARD_LATE_INIT |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 104 | select ROCKCHIP_BROM_HELPER |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 105 | select TPL |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 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 | |
Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 112 | config TARGET_ROCK2 |
| 113 | bool "Radxa Rock 2" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 114 | select BOARD_LATE_INIT |
Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 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 | |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 121 | config TARGET_TINKER_RK3288 |
| 122 | bool "Tinker-RK3288" |
| 123 | select BOARD_LATE_INIT |
Kever Yang | 0b0ca12 | 2019-07-01 11:49:15 +0800 | [diff] [blame] | 124 | select TPL |
Jernej Skrabec | 3c6372d | 2017-03-30 01:23:13 +0200 | [diff] [blame] | 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 | |
Kever Yang | 06ff5fc | 2019-07-09 22:14:15 +0800 | [diff] [blame] | 131 | endchoice |
| 132 | |
Simon Glass | 94906e4 | 2016-01-21 19:45:17 -0700 | [diff] [blame] | 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 | |
Kever Yang | 70e558d | 2019-07-09 22:14:20 +0800 | [diff] [blame] | 142 | config ROCKCHIP_BOOT_MODE_REG |
| 143 | default 0xff730094 |
| 144 | |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 145 | config SYS_SOC |
Kever Yang | 3a8dcfb | 2019-03-28 11:01:24 +0800 | [diff] [blame] | 146 | default "rk3288" |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 147 | |
huang lin | 2bf8111 | 2015-11-17 14:20:10 +0800 | [diff] [blame] | 148 | config SYS_MALLOC_F_LEN |
Kever Yang | 6e3a882 | 2019-07-09 22:14:22 +0800 | [diff] [blame] | 149 | default 0x2000 |
huang lin | 2bf8111 | 2015-11-17 14:20:10 +0800 | [diff] [blame] | 150 | |
Simon Glass | d4c6180 | 2016-09-12 23:18:34 -0600 | [diff] [blame] | 151 | config SPL_DRIVERS_MISC_SUPPORT |
| 152 | default y |
| 153 | |
Simon Glass | f2a8946 | 2016-09-12 23:18:41 -0600 | [diff] [blame] | 154 | config SPL_LIBCOMMON_SUPPORT |
| 155 | default y |
| 156 | |
Simon Glass | b16c92c | 2016-09-12 23:18:43 -0600 | [diff] [blame] | 157 | config SPL_LIBGENERIC_SUPPORT |
| 158 | default y |
| 159 | |
Simon Glass | e076d6f | 2016-09-12 23:18:56 -0600 | [diff] [blame] | 160 | config SPL_SERIAL_SUPPORT |
| 161 | default y |
| 162 | |
Kever Yang | 4e33af4 | 2019-07-09 21:58:45 +0800 | [diff] [blame^] | 163 | config TPL_LDSCRIPT |
| 164 | default "arch/arm/mach-rockchip/u-boot-tpl.lds" |
| 165 | |
Kever Yang | 8081436 | 2019-07-09 22:14:17 +0800 | [diff] [blame] | 166 | config TPL_MAX_SIZE |
| 167 | default 32768 |
| 168 | |
| 169 | config TPL_STACK |
| 170 | default 0xff718000 |
| 171 | |
| 172 | config TPL_TEXT_BASE |
| 173 | default 0xff704000 |
| 174 | |
Jagan Teki | 59ea618 | 2017-09-12 17:15:47 +0530 | [diff] [blame] | 175 | source "board/amarula/vyasa-rk3288/Kconfig" |
| 176 | |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 177 | source "board/chipspark/popmetal_rk3288/Kconfig" |
Simon Glass | 9d5d1cc | 2015-08-30 16:55:42 -0600 | [diff] [blame] | 178 | |
Simon Glass | ec3be54 | 2015-08-30 16:55:41 -0600 | [diff] [blame] | 179 | source "board/firefly/firefly-rk3288/Kconfig" |
| 180 | |
Simon Glass | ba8635d | 2016-11-13 14:22:10 -0700 | [diff] [blame] | 181 | source "board/google/veyron/Kconfig" |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 182 | |
Jernej Skrabec | 971e53a | 2017-03-30 01:23:14 +0200 | [diff] [blame] | 183 | source "board/mqmaker/miqi_rk3288/Kconfig" |
| 184 | |
Wadim Egorov | 6ee2d01 | 2017-06-19 12:36:40 +0200 | [diff] [blame] | 185 | source "board/phytec/phycore_rk3288/Kconfig" |
| 186 | |
Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 187 | source "board/radxa/rock2/Kconfig" |
| 188 | |
jk.kernel@gmail.com | 01e0c34 | 2016-07-26 18:28:27 +0800 | [diff] [blame] | 189 | source "board/rockchip/evb_rk3288/Kconfig" |
Xu Ziyuan | 3da09a8 | 2016-07-05 18:06:30 +0800 | [diff] [blame] | 190 | |
jk.kernel@gmail.com | b1aeb09 | 2016-07-26 18:28:29 +0800 | [diff] [blame] | 191 | source "board/rockchip/fennec_rk3288/Kconfig" |
| 192 | |
Eddie Cai | 1e1a79f | 2017-01-18 11:03:54 +0800 | [diff] [blame] | 193 | source "board/rockchip/tinker_rk3288/Kconfig" |
jk.kernel@gmail.com | 7a614ac | 2016-07-26 18:28:30 +0800 | [diff] [blame] | 194 | |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 195 | endif |