Debian Codegraph @

src/mainboard/google/foster/Kconfig

raw
1 ## SPDX-License-Identifier: GPL-2.0-only
2
3 if BOARD_GOOGLE_FOSTER
4
5 config 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
17 config VBOOT
18 select VBOOT_VBNV_FLASH
19
20 config MAINBOARD_DIR
21 default "google/foster"
22
23 config MAINBOARD_PART_NUMBER
24 default "Foster"
25
26 config DRAM_SIZE_MB
27 int
28 default 2048
29
30 choice
31 prompt "BCT boot media"
32 default FOSTER_BCT_CFG_SPI
33 help
34 Which boot media to configure the BCT for.
35
36 config FOSTER_BCT_CFG_SPI
37 bool "SPI"
38 help
39 Configure the BCT for booting from SPI.
40
41 config FOSTER_BCT_CFG_EMMC
42 bool "eMMC"
43 help
44 Configure the BCT for booting from eMMC.
45
46 endchoice
47
48 config 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
56 config DRIVER_TPM_I2C_BUS
57 hex
58 default 0x2
59
60 config DRIVER_TPM_I2C_ADDR
61 hex
62 default 0x20
63
64 config VBOOT_FWID_MODEL
65 string
66 default "Nvidia_Foster"
67
68 endif # BOARD_GOOGLE_FOSTER