blob: 07d39ff0cae0221a314d7c3f8d9252d24b4e9f42 [file] [log] [blame]
Furquan Shaikhda01d942014-03-19 14:31:23 -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##
Furquan Shaikhda01d942014-03-19 14:31:23 -070015
16if BOARD_GOOGLE_STORM
17
Vadim Bendebury0e2d9b62014-05-01 19:37:18 -070018config BOARD_SPECIFIC_OPTIONS
Furquan Shaikhda01d942014-03-19 14:31:23 -070019 def_bool y
20 select SOC_QC_IPQ806X
Stefan Reinauer82c706e2015-03-30 12:20:55 -070021 select BOARD_ID_AUTO
Julius Wernerf780c402014-11-10 13:11:50 -080022 select BOARD_ROMSIZE_KB_8192
Vadim Bendebury0e2d9b62014-05-01 19:37:18 -070023 select COMMON_CBFS_SPI_WRAPPER
Vadim Bendebury8a6e6352015-03-10 13:03:58 -070024 select DRIVERS_I2C_WW_RING
Daisuke Nojiri44885902014-11-12 14:37:25 -080025 select HAVE_HARD_RESET
Patrick Georgia1e514d2015-04-22 11:39:51 +020026 select MAINBOARD_HAS_CHROMEOS
Vadim Bendebury0e2d9b62014-05-01 19:37:18 -070027 select SPI_FLASH
28 select SPI_FLASH_SPANSION
Vadim Bendebury7dcc48b2015-02-11 19:16:13 -080029 select SPI_FLASH_STMICRO
Stefan Reinauer2ba16db2015-07-01 17:51:26 -070030 select DRIVERS_UART
Furquan Shaikhda01d942014-03-19 14:31:23 -070031
Martin Roth967cd9a2015-08-18 14:22:58 -060032config CHROMEOS
33 select VBOOT_DISABLE_DEV_ON_RECOVERY
34 select WIPEOUT_SUPPORTED
Martin Roth8c12d6e2015-08-24 15:55:29 -060035 select VIRTUAL_DEV_SWITCH
Martin Roth967cd9a2015-08-18 14:22:58 -060036
Vadim Bendeburyf752d012014-07-10 15:24:18 -070037config BOARD_VARIANT_AP148
38 bool "pick this to build an image for ap148"
39 default n
40
Furquan Shaikhda01d942014-03-19 14:31:23 -070041config MAINBOARD_DIR
42 string
43 default google/storm
44
45config MAINBOARD_PART_NUMBER
46 string
Vadim Bendeburyf752d012014-07-10 15:24:18 -070047 default "AP148" if BOARD_VARIANT_AP148
Furquan Shaikhda01d942014-03-19 14:31:23 -070048 default "Storm"
49
50config DRAM_SIZE_MB
51 int
Vadim Bendeburyf752d012014-07-10 15:24:18 -070052 default 512 if BOARD_VARIANT_AP148
David Hendricks0c0767c2014-06-27 13:30:21 -070053 default 1024
Furquan Shaikhda01d942014-03-19 14:31:23 -070054
Vadim Bendebury6fe4e5e2014-12-06 10:44:58 -080055config DRIVER_TPM_I2C_BUS
56 hex
57 default 0x1
58
59config DRIVER_TPM_I2C_ADDR
60 hex
61 default 0x20
62
Furquan Shaikhda01d942014-03-19 14:31:23 -070063endif # BOARD_GOOGLE_STORM