1## SPDX-License-Identifier: GPL-2.0-only 2 3if BOARD_GOOGLE_FOSTER 4 5config BOARD_SPECIFIC_OPTIONS 6 def_bool y 7 select BOARD_ROMSIZE_KB_4096 8 select SPI_FLASH 9 select SOC_NVIDIA_TEGRA210 10 select MAINBOARD_HAS_CHROMEOS 11 select BOOTROM_SDRAM_INIT # use BootRom to config sdram 12 select COMMON_CBFS_SPI_WRAPPER 13 select SPI_FLASH_WINBOND 14 select I2C_TPM 15 select MAINBOARD_HAS_TPM1 16 17config VBOOT 18 select VBOOT_VBNV_FLASH 19 20config MAINBOARD_DIR 21 default "google/foster" 22 23config MAINBOARD_PART_NUMBER 24 default "Foster" 25 26config DRAM_SIZE_MB 27 int 28 default 2048 29 30choice 31 prompt "BCT boot media" 32 default FOSTER_BCT_CFG_SPI 33 help 34 Which boot media to configure the BCT for. 35 36config FOSTER_BCT_CFG_SPI 37 bool "SPI" 38 help 39 Configure the BCT for booting from SPI. 40 41config FOSTER_BCT_CFG_EMMC 42 bool "eMMC" 43 help 44 Configure the BCT for booting from eMMC. 45 46endchoice 47 48config BOOT_DEVICE_SPI_FLASH_BUS 49 int "SPI bus with boot media ROM" 50 range 1 7 51 depends on FOSTER_BCT_CFG_SPI 52 default 7 53 help 54 Which SPI bus the boot media is connected to. 55 56config DRIVER_TPM_I2C_BUS 57 hex 58 default 0x2 59 60config DRIVER_TPM_I2C_ADDR 61 hex 62 default 0x20 63 64#config EC_GOOGLE_CHROMEEC_BOARDNAME 65# string 66# default "nyan" 67 68config VBOOT_FWID_MODEL 69 string 70 default "Nvidia_Foster" 71 72endif # BOARD_GOOGLE_FOSTER 73