Rex-BC Chen | 74a0629 | 2021-09-09 18:43:22 +0800 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | # Umbrella option to be selected by variant boards. |
| 4 | config BOARD_GOOGLE_CORSOLA_COMMON |
| 5 | def_bool n |
| 6 | |
| 7 | if BOARD_GOOGLE_CORSOLA_COMMON |
| 8 | |
| 9 | config BOARD_SPECIFIC_OPTIONS |
| 10 | def_bool y |
| 11 | select SOC_MEDIATEK_MT8186 |
| 12 | select BOARD_ROMSIZE_KB_8192 |
| 13 | select MAINBOARD_HAS_CHROMEOS |
| 14 | select COMMON_CBFS_SPI_WRAPPER |
| 15 | select SPI_FLASH |
| 16 | select SPI_FLASH_INCLUDE_ALL_DRIVERS |
Wenbin Mei | 1cbcfc13 | 2021-11-05 10:05:11 +0800 | [diff] [blame] | 17 | select COMMONLIB_STORAGE |
| 18 | select COMMONLIB_STORAGE_MMC |
Rex-BC Chen | 74a0629 | 2021-09-09 18:43:22 +0800 | [diff] [blame] | 19 | |
| 20 | config MAINBOARD_DIR |
| 21 | string |
| 22 | default "google/corsola" |
| 23 | |
| 24 | config MAINBOARD_PART_NUMBER |
| 25 | string |
| 26 | default "Corsola" if BOARD_GOOGLE_CORSOLA |
Rex-BC Chen | fb06ca0 | 2021-11-10 14:00:17 +0800 | [diff] [blame] | 27 | default "Kingler" if BOARD_GOOGLE_KINGLER |
| 28 | default "Krabby" if BOARD_GOOGLE_KRABBY |
Rex-BC Chen | c4db2db | 2021-11-04 13:59:42 +0800 | [diff] [blame] | 29 | |
| 30 | config BOOT_DEVICE_SPI_FLASH_BUS |
| 31 | int |
| 32 | default 7 |
Rex-BC Chen | fca89d3 | 2021-11-19 10:47:12 +0800 | [diff] [blame^] | 33 | |
| 34 | config SDCARD_INIT |
| 35 | bool |
| 36 | default n |
Rex-BC Chen | 74a0629 | 2021-09-09 18:43:22 +0800 | [diff] [blame] | 37 | endif |