reset: Convert individual boards to `board_reset()`
[coreboot.git] / src / mainboard / google / gale / Kconfig
blobf8def87ca2e9f68571483528ce3b27b7885223e8
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.
16 if BOARD_GOOGLE_GALE
18 config BOARD_SPECIFIC_OPTIONS
19         def_bool y
20         select SOC_QC_IPQ40XX
21         select BOARD_ROMSIZE_KB_8192
22         select COMMON_CBFS_SPI_WRAPPER
23         select DRIVERS_I2C_WW_RING
24         select MAINBOARD_HAS_CHROMEOS
25         select SPI_FLASH
26         select SPI_FLASH_GIGADEVICE
27         select SPI_FLASH_SPANSION
28         select SPI_FLASH_STMICRO
29         select SPI_FLASH_WINBOND
30         select DRIVERS_UART
31         select MAINBOARD_HAS_I2C_TPM_GENERIC
32         select MAINBOARD_HAS_TPM1
34 config VBOOT
35         select VBOOT_DISABLE_DEV_ON_RECOVERY
36         select VBOOT_WIPEOUT_SUPPORTED
38 config BOARD_VARIANT_DK01
39         bool "Build an image for DK01"
40         default n
42 config MAINBOARD_DIR
43         string
44         default google/gale
46 config MAINBOARD_PART_NUMBER
47         string
48         default "DK01" if BOARD_VARIANT_DK01
49         default "Gale"
51 config GBB_HWID
52         string
53         depends on CHROMEOS
54         default "Gale TEST 1"
56 config DRAM_SIZE_MB
57         int
58         default 512 if BOARD_VARIANT_DK01
59         default 512
61 config DRIVER_TPM_I2C_BUS
62         hex
63         default 0x2
65 config DRIVER_TPM_I2C_ADDR
66         hex
67         default 0x20
69 endif # BOARD_GOOGLE_GALE