Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright 2015 Google Inc. |
| 5 | ## |
| 6 | ## This program is free software; you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by |
| 8 | ## the Free Software Foundation; version 2 of the License. |
| 9 | ## |
| 10 | ## This program is distributed in the hope that it will be useful, |
| 11 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | ## GNU General Public License for more details. |
| 14 | ## |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 15 | |
| 16 | if BOARD_GOOGLE_SMAUG |
| 17 | |
| 18 | config BOARD_SPECIFIC_OPTIONS # dummy |
Martin Roth | 45895f1 | 2015-07-01 19:38:29 -0600 | [diff] [blame] | 19 | def_bool y |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 20 | select BOARD_ID_AUTO |
| 21 | select BOARD_ROMSIZE_KB_16384 |
Furquan Shaikh | cf6cca6 | 2015-07-13 20:46:40 -0700 | [diff] [blame] | 22 | select COMMON_CBFS_SPI_WRAPPER |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 23 | select EC_GOOGLE_CHROMEEC |
| 24 | select EC_GOOGLE_CHROMEEC_I2C |
| 25 | select EC_GOOGLE_CHROMEEC_I2C_PROTO3 |
Martin Roth | c0c115b | 2015-08-21 14:37:02 -0600 | [diff] [blame] | 26 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 27 | select MAINBOARD_DO_NATIVE_VGA_INIT |
| 28 | select SPI_FLASH |
Furquan Shaikh | cf6cca6 | 2015-07-13 20:46:40 -0700 | [diff] [blame] | 29 | select SPI_FLASH_WINBOND |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 30 | select SOC_NVIDIA_TEGRA210 |
| 31 | select MAINBOARD_DO_DSI_INIT |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 32 | select MAINBOARD_HAS_CHROMEOS |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 33 | select RAM_CODE_SUPPORT |
| 34 | |
Martin Roth | 967cd9a | 2015-08-18 14:22:58 -0600 | [diff] [blame] | 35 | config CHROMEOS |
| 36 | select CHROMEOS_VBNV_FLASH |
| 37 | select EC_SOFTWARE_SYNC |
Martin Roth | 8c12d6e | 2015-08-24 15:55:29 -0600 | [diff] [blame] | 38 | select VIRTUAL_DEV_SWITCH |
Martin Roth | 967cd9a | 2015-08-18 14:22:58 -0600 | [diff] [blame] | 39 | |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 40 | config MAINBOARD_DIR |
Martin Roth | 45895f1 | 2015-07-01 19:38:29 -0600 | [diff] [blame] | 41 | string |
| 42 | default google/smaug |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 43 | |
| 44 | config MAINBOARD_PART_NUMBER |
Martin Roth | 45895f1 | 2015-07-01 19:38:29 -0600 | [diff] [blame] | 45 | string |
| 46 | default "Smaug" |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 47 | |
| 48 | config DRAM_SIZE_MB |
Martin Roth | 45895f1 | 2015-07-01 19:38:29 -0600 | [diff] [blame] | 49 | int |
| 50 | default 2048 |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 51 | |
| 52 | choice |
| 53 | prompt "BCT boot media" |
| 54 | default SMAUG_BCT_CFG_SPI |
| 55 | help |
| 56 | Which boot media to configure the BCT for. |
| 57 | |
| 58 | config SMAUG_BCT_CFG_SPI |
| 59 | bool "SPI" |
| 60 | help |
| 61 | Configure the BCT for booting from SPI. |
| 62 | |
| 63 | config SMAUG_BCT_CFG_EMMC |
| 64 | bool "eMMC" |
| 65 | help |
| 66 | Configure the BCT for booting from eMMC. |
| 67 | |
| 68 | endchoice |
| 69 | |
| 70 | config BOOT_MEDIA_SPI_BUS |
| 71 | int "SPI bus with boot media ROM" |
| 72 | range 1 7 |
| 73 | depends on SMAUG_BCT_CFG_SPI |
| 74 | default 7 |
| 75 | help |
| 76 | Which SPI bus the boot media is connected to. |
| 77 | |
| 78 | config BOOT_MEDIA_SPI_CHIP_SELECT |
| 79 | int "Chip select for SPI boot media" |
| 80 | range 0 3 |
| 81 | depends on SMAUG_BCT_CFG_SPI |
| 82 | default 0 |
| 83 | help |
| 84 | Which chip select to use for boot media. |
| 85 | |
Patrick Georgi | 4d6ad83 | 2015-06-22 19:43:18 +0200 | [diff] [blame] | 86 | config DRIVER_TPM_I2C_BUS |
| 87 | hex |
| 88 | default 0x2 |
| 89 | |
| 90 | config DRIVER_TPM_I2C_ADDR |
| 91 | hex |
| 92 | default 0x20 |
| 93 | |
| 94 | config EC_GOOGLE_CHROMEEC_I2C_BUS |
| 95 | hex |
| 96 | default 1 |
| 97 | |
| 98 | endif # BOARD_GOOGLE_SMAUG |