Furquan Shaikh | 5c4a510 | 2014-04-28 16:44:21 -0700 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright 2014 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 | ## |
Furquan Shaikh | 5c4a510 | 2014-04-28 16:44:21 -0700 | [diff] [blame] | 15 | |
| 16 | if BOARD_GOOGLE_RUSH |
| 17 | |
| 18 | config BOARD_SPECIFIC_OPTIONS # dummy |
| 19 | def_bool y |
Stefan Reinauer | 82c706e | 2015-03-30 12:20:55 -0700 | [diff] [blame] | 20 | select BOARD_ID_AUTO |
Furquan Shaikh | 538caba | 2014-07-29 18:47:16 -0700 | [diff] [blame] | 21 | select EC_GOOGLE_CHROMEEC |
| 22 | select EC_GOOGLE_CHROMEEC_SPI |
Martin Roth | c0c115b | 2015-08-21 14:37:02 -0600 | [diff] [blame] | 23 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
Jimmy Zhang | e994a80 | 2014-12-09 16:44:21 -0800 | [diff] [blame] | 24 | select MAINBOARD_DO_NATIVE_VGA_INIT |
Furquan Shaikh | 538caba | 2014-07-29 18:47:16 -0700 | [diff] [blame] | 25 | select SPI_FLASH |
Furquan Shaikh | 5c4a510 | 2014-04-28 16:44:21 -0700 | [diff] [blame] | 26 | select SOC_NVIDIA_TEGRA132 |
Jimmy Zhang | e994a80 | 2014-12-09 16:44:21 -0800 | [diff] [blame] | 27 | select MAINBOARD_DO_SOR_INIT |
Patrick Georgi | a1e514d | 2015-04-22 11:39:51 +0200 | [diff] [blame] | 28 | select MAINBOARD_HAS_CHROMEOS |
Furquan Shaikh | 5c4a510 | 2014-04-28 16:44:21 -0700 | [diff] [blame] | 29 | select BOARD_ROMSIZE_KB_4096 |
Martin Roth | 967cd9a | 2015-08-18 14:22:58 -0600 | [diff] [blame] | 30 | |
| 31 | config CHROMEOS |
Patrick Georgi | a1361d4 | 2015-04-22 13:18:22 +0200 | [diff] [blame] | 32 | select CHROMEOS_VBNV_EC |
Martin Roth | 967cd9a | 2015-08-18 14:22:58 -0600 | [diff] [blame] | 33 | select EC_SOFTWARE_SYNC |
Martin Roth | 8c12d6e | 2015-08-24 15:55:29 -0600 | [diff] [blame] | 34 | select VIRTUAL_DEV_SWITCH |
Furquan Shaikh | 84bbab9 | 2014-06-24 17:38:03 -0700 | [diff] [blame] | 35 | |
Furquan Shaikh | 5c4a510 | 2014-04-28 16:44:21 -0700 | [diff] [blame] | 36 | config MAINBOARD_DIR |
| 37 | string |
| 38 | default google/rush |
| 39 | |
| 40 | config MAINBOARD_PART_NUMBER |
| 41 | string |
| 42 | default "Rush" |
| 43 | |
| 44 | config DRAM_SIZE_MB |
| 45 | int |
| 46 | default 2048 |
| 47 | |
Furquan Shaikh | d6ba154 | 2014-06-09 13:22:07 -0700 | [diff] [blame] | 48 | choice |
| 49 | prompt "BCT boot media" |
| 50 | default RUSH_BCT_CFG_SPI |
| 51 | help |
| 52 | Which boot media to configure the BCT for. |
| 53 | |
| 54 | config RUSH_BCT_CFG_SPI |
| 55 | bool "SPI" |
| 56 | help |
| 57 | Configure the BCT for booting from SPI. |
| 58 | |
| 59 | config RUSH_BCT_CFG_EMMC |
| 60 | bool "eMMC" |
| 61 | help |
| 62 | Configure the BCT for booting from eMMC. |
| 63 | |
| 64 | endchoice |
| 65 | |
Furquan Shaikh | b68cb9e | 2014-06-25 15:19:13 -0700 | [diff] [blame] | 66 | config BOOT_MEDIA_SPI_BUS |
| 67 | int "SPI bus with boot media ROM" |
| 68 | range 1 6 |
| 69 | depends on RUSH_BCT_CFG_SPI |
| 70 | default 4 |
| 71 | help |
| 72 | Which SPI bus the boot media is connected to. |
| 73 | |
| 74 | config BOOT_MEDIA_SPI_CHIP_SELECT |
| 75 | int "Chip select for SPI boot media" |
| 76 | range 0 3 |
| 77 | depends on RUSH_BCT_CFG_SPI |
| 78 | default 0 |
| 79 | help |
| 80 | Which chip select to use for boot media. |
| 81 | |
Furquan Shaikh | f4731af | 2014-07-25 14:35:46 -0700 | [diff] [blame] | 82 | config DRIVER_TPM_I2C_BUS |
| 83 | hex |
| 84 | default 0x2 |
| 85 | |
| 86 | config DRIVER_TPM_I2C_ADDR |
| 87 | hex |
| 88 | default 0x20 |
| 89 | |
Furquan Shaikh | 538caba | 2014-07-29 18:47:16 -0700 | [diff] [blame] | 90 | config EC_GOOGLE_CHROMEEC_SPI_BUS |
| 91 | hex |
| 92 | default 1 |
| 93 | |
Furquan Shaikh | 5c4a510 | 2014-04-28 16:44:21 -0700 | [diff] [blame] | 94 | endif # BOARD_GOOGLE_RUSH |