blob: fcf755ae98d321c790b021038059097b5e16f227 [file] [log] [blame]
Furquan Shaikh5c4a5102014-04-28 16:44:21 -07001##
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 Shaikh5c4a5102014-04-28 16:44:21 -070015
16if BOARD_GOOGLE_RUSH
17
18config BOARD_SPECIFIC_OPTIONS # dummy
19 def_bool y
Stefan Reinauer82c706e2015-03-30 12:20:55 -070020 select BOARD_ID_AUTO
Furquan Shaikh538caba2014-07-29 18:47:16 -070021 select EC_GOOGLE_CHROMEEC
22 select EC_GOOGLE_CHROMEEC_SPI
Martin Rothc0c115b2015-08-21 14:37:02 -060023 select MAINBOARD_HAS_NATIVE_VGA_INIT
Jimmy Zhange994a802014-12-09 16:44:21 -080024 select MAINBOARD_DO_NATIVE_VGA_INIT
Furquan Shaikh538caba2014-07-29 18:47:16 -070025 select SPI_FLASH
Furquan Shaikh5c4a5102014-04-28 16:44:21 -070026 select SOC_NVIDIA_TEGRA132
Jimmy Zhange994a802014-12-09 16:44:21 -080027 select MAINBOARD_DO_SOR_INIT
Patrick Georgia1e514d2015-04-22 11:39:51 +020028 select MAINBOARD_HAS_CHROMEOS
Furquan Shaikh5c4a5102014-04-28 16:44:21 -070029 select BOARD_ROMSIZE_KB_4096
Martin Roth967cd9a2015-08-18 14:22:58 -060030
31config CHROMEOS
Patrick Georgia1361d42015-04-22 13:18:22 +020032 select CHROMEOS_VBNV_EC
Martin Roth967cd9a2015-08-18 14:22:58 -060033 select EC_SOFTWARE_SYNC
Martin Roth8c12d6e2015-08-24 15:55:29 -060034 select VIRTUAL_DEV_SWITCH
Furquan Shaikh84bbab92014-06-24 17:38:03 -070035
Furquan Shaikh5c4a5102014-04-28 16:44:21 -070036config MAINBOARD_DIR
37 string
38 default google/rush
39
40config MAINBOARD_PART_NUMBER
41 string
42 default "Rush"
43
44config DRAM_SIZE_MB
45 int
46 default 2048
47
Furquan Shaikhd6ba1542014-06-09 13:22:07 -070048choice
49 prompt "BCT boot media"
50 default RUSH_BCT_CFG_SPI
51 help
52 Which boot media to configure the BCT for.
53
54config RUSH_BCT_CFG_SPI
55 bool "SPI"
56 help
57 Configure the BCT for booting from SPI.
58
59config RUSH_BCT_CFG_EMMC
60 bool "eMMC"
61 help
62 Configure the BCT for booting from eMMC.
63
64endchoice
65
Furquan Shaikhb68cb9e2014-06-25 15:19:13 -070066config 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
74config 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 Shaikhf4731af2014-07-25 14:35:46 -070082config DRIVER_TPM_I2C_BUS
83 hex
84 default 0x2
85
86config DRIVER_TPM_I2C_ADDR
87 hex
88 default 0x20
89
Furquan Shaikh538caba2014-07-29 18:47:16 -070090config EC_GOOGLE_CHROMEEC_SPI_BUS
91 hex
92 default 1
93
Furquan Shaikh5c4a5102014-04-28 16:44:21 -070094endif # BOARD_GOOGLE_RUSH