Furquan Shaikh | da01d94 | 2014-03-19 14:31:23 -0700 | [diff] [blame] | 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. |
| 14 | ## |
Furquan Shaikh | da01d94 | 2014-03-19 14:31:23 -0700 | [diff] [blame] | 15 | |
| 16 | if BOARD_GOOGLE_STORM |
| 17 | |
Vadim Bendebury | 0e2d9b6 | 2014-05-01 19:37:18 -0700 | [diff] [blame] | 18 | config BOARD_SPECIFIC_OPTIONS |
Furquan Shaikh | da01d94 | 2014-03-19 14:31:23 -0700 | [diff] [blame] | 19 | def_bool y |
| 20 | select SOC_QC_IPQ806X |
Stefan Reinauer | 82c706e | 2015-03-30 12:20:55 -0700 | [diff] [blame] | 21 | select BOARD_ID_AUTO |
Julius Werner | f780c40 | 2014-11-10 13:11:50 -0800 | [diff] [blame] | 22 | select BOARD_ROMSIZE_KB_8192 |
Vadim Bendebury | 0e2d9b6 | 2014-05-01 19:37:18 -0700 | [diff] [blame] | 23 | select COMMON_CBFS_SPI_WRAPPER |
Vadim Bendebury | 8a6e635 | 2015-03-10 13:03:58 -0700 | [diff] [blame] | 24 | select DRIVERS_I2C_WW_RING |
Daisuke Nojiri | 4488590 | 2014-11-12 14:37:25 -0800 | [diff] [blame] | 25 | select HAVE_HARD_RESET |
Patrick Georgi | a1e514d | 2015-04-22 11:39:51 +0200 | [diff] [blame] | 26 | select MAINBOARD_HAS_CHROMEOS |
Vadim Bendebury | 0e2d9b6 | 2014-05-01 19:37:18 -0700 | [diff] [blame] | 27 | select SPI_FLASH |
| 28 | select SPI_FLASH_SPANSION |
Vadim Bendebury | 7dcc48b | 2015-02-11 19:16:13 -0800 | [diff] [blame] | 29 | select SPI_FLASH_STMICRO |
Stefan Reinauer | 2ba16db | 2015-07-01 17:51:26 -0700 | [diff] [blame] | 30 | select DRIVERS_UART |
Furquan Shaikh | da01d94 | 2014-03-19 14:31:23 -0700 | [diff] [blame] | 31 | |
Martin Roth | 967cd9a | 2015-08-18 14:22:58 -0600 | [diff] [blame] | 32 | config CHROMEOS |
| 33 | select VBOOT_DISABLE_DEV_ON_RECOVERY |
| 34 | select WIPEOUT_SUPPORTED |
Martin Roth | 8c12d6e | 2015-08-24 15:55:29 -0600 | [diff] [blame] | 35 | select VIRTUAL_DEV_SWITCH |
Martin Roth | 967cd9a | 2015-08-18 14:22:58 -0600 | [diff] [blame] | 36 | |
Vadim Bendebury | f752d01 | 2014-07-10 15:24:18 -0700 | [diff] [blame] | 37 | config BOARD_VARIANT_AP148 |
| 38 | bool "pick this to build an image for ap148" |
| 39 | default n |
| 40 | |
Furquan Shaikh | da01d94 | 2014-03-19 14:31:23 -0700 | [diff] [blame] | 41 | config MAINBOARD_DIR |
| 42 | string |
| 43 | default google/storm |
| 44 | |
| 45 | config MAINBOARD_PART_NUMBER |
| 46 | string |
Vadim Bendebury | f752d01 | 2014-07-10 15:24:18 -0700 | [diff] [blame] | 47 | default "AP148" if BOARD_VARIANT_AP148 |
Furquan Shaikh | da01d94 | 2014-03-19 14:31:23 -0700 | [diff] [blame] | 48 | default "Storm" |
| 49 | |
| 50 | config DRAM_SIZE_MB |
| 51 | int |
Vadim Bendebury | f752d01 | 2014-07-10 15:24:18 -0700 | [diff] [blame] | 52 | default 512 if BOARD_VARIANT_AP148 |
David Hendricks | 0c0767c | 2014-06-27 13:30:21 -0700 | [diff] [blame] | 53 | default 1024 |
Furquan Shaikh | da01d94 | 2014-03-19 14:31:23 -0700 | [diff] [blame] | 54 | |
Vadim Bendebury | 6fe4e5e | 2014-12-06 10:44:58 -0800 | [diff] [blame] | 55 | config DRIVER_TPM_I2C_BUS |
| 56 | hex |
| 57 | default 0x1 |
| 58 | |
| 59 | config DRIVER_TPM_I2C_ADDR |
| 60 | hex |
| 61 | default 0x20 |
| 62 | |
Furquan Shaikh | da01d94 | 2014-03-19 14:31:23 -0700 | [diff] [blame] | 63 | endif # BOARD_GOOGLE_STORM |