blob: a5b174781eeaaa9656201cfa0b8ee27c527c1341 [file] [log] [blame]
Tom Warren4e16a2e2014-03-19 14:19:09 -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##
Tom Warren4e16a2e2014-03-19 14:19:09 -070015
16if BOARD_GOOGLE_NYAN_BLAZE
17
Elyes HAOUASf0c5be22018-11-27 20:36:44 +010018config BOARD_SPECIFIC_OPTIONS
Tom Warren4e16a2e2014-03-19 14:19:09 -070019 def_bool y
20 select ARCH_ARM
Julius Wernerf5452082016-02-17 16:12:46 -080021 select COMMON_CBFS_SPI_WRAPPER
Tom Warren4e16a2e2014-03-19 14:19:09 -070022 select EC_GOOGLE_CHROMEEC
23 select EC_GOOGLE_CHROMEEC_SPI
24 select SOC_NVIDIA_TEGRA124
25 select TEGRA124_MODEL_CD570M
Aaron Durbin42bab142015-03-28 14:39:49 -050026 select MAINBOARD_HAS_CHROMEOS
Julius Wernerf780c402014-11-10 13:11:50 -080027 select BOARD_ROMSIZE_KB_4096
Tom Warren4e16a2e2014-03-19 14:19:09 -070028 select SPI_FLASH
Julius Wernerf5452082016-02-17 16:12:46 -080029 select SPI_FLASH_GIGADEVICE
30 select SPI_FLASH_WINBOND
Tom Warren4e16a2e2014-03-19 14:19:09 -070031 select SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B
Philipp Deppenwiesec07f8fb2018-02-27 19:40:52 +010032 select MAINBOARD_HAS_I2C_TPM_GENERIC
33 select MAINBOARD_HAS_TPM1
Martin Roth967cd9a2015-08-18 14:22:58 -060034
Julius Werner58c39382017-02-13 17:53:29 -080035config VBOOT
Furquan Shaikhcd2afc02016-11-15 20:33:29 -080036 select EC_GOOGLE_CHROMEEC_SWITCHES
Furquan Shaikh2a12e2e2016-07-25 11:48:03 -070037 select VBOOT_VBNV_EC
Tom Warren4e16a2e2014-03-19 14:19:09 -070038
Tom Warren4e16a2e2014-03-19 14:19:09 -070039config MAINBOARD_DIR
40 string
41 default google/nyan_blaze
42
43config MAINBOARD_PART_NUMBER
44 string
45 default "Nyan Blaze"
46
Tom Warren4e16a2e2014-03-19 14:19:09 -070047choice
48 prompt "BCT boot media"
49 default NYAN_BLAZE_BCT_CFG_SPI
50 help
51 Which boot media to configure the BCT for.
52
53config NYAN_BLAZE_BCT_CFG_SPI
54 bool "SPI"
55 help
56 Configure the BCT for booting from SPI.
57
58config NYAN_BLAZE_BCT_CFG_EMMC
59 bool "eMMC"
60 help
61 Configure the BCT for booting from eMMC.
62
63endchoice
64
Aaron Durbin08e842c2016-08-11 14:40:09 -050065config BOOT_DEVICE_SPI_FLASH_BUS
Tom Warren4e16a2e2014-03-19 14:19:09 -070066 int "SPI bus with boot media ROM"
67 range 1 6
68 depends on NYAN_BLAZE_BCT_CFG_SPI
69 default 4
70 help
71 Which SPI bus the boot media is connected to.
72
Tom Warren4e16a2e2014-03-19 14:19:09 -070073config EC_GOOGLE_CHROMEEC_SPI_BUS
74 hex
Martin Roth3b878122016-09-30 14:43:01 -060075 default 0x1
Tom Warren4e16a2e2014-03-19 14:19:09 -070076
Aaron Durbincad7c4e2014-03-20 15:08:54 -050077config DRIVER_TPM_I2C_BUS
78 hex
79 default 0x2
80
81config DRIVER_TPM_I2C_ADDR
82 hex
83 default 0x20
84
Patrick Georgia0f6abc2016-02-05 11:30:19 +010085config GBB_HWID
86 string
87 depends on CHROMEOS
88 default "BLAZE TEST 9xxx"
Tom Warren4e16a2e2014-03-19 14:19:09 -070089endif # BOARD_GOOGLE_NYAN_BLAZE