aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/purin/Kconfig
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2015-01-23 10:05:52 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-04-17 09:57:12 +0200
commit710e0a2726b43070133f4c2affb986c7aef6c26e (patch)
tree321a57998841ac6a572f6a547cf232c29e13447c /src/mainboard/google/purin/Kconfig
parenta6712f3166f1a9e896f7ff0d4ef6216d7b9d081a (diff)
purin: add purin under mainboard
this change covers bootblock and romstage. BUG=none BRANCH=tot TEST=ran emerge-purin coreboot Change-Id: Ifffb2e93189e8e85338de469432f3296e3e71791 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: cd479583404958f72461e9c1639f0288a00f228e Original-Change-Id: Iaee4a8c457e42386a4100a8121144b8cf5f21e8c Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/242853 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9751 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/purin/Kconfig')
-rw-r--r--src/mainboard/google/purin/Kconfig58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/mainboard/google/purin/Kconfig b/src/mainboard/google/purin/Kconfig
new file mode 100644
index 0000000000..5d725135ad
--- /dev/null
+++ b/src/mainboard/google/purin/Kconfig
@@ -0,0 +1,58 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright 2015 Google Inc.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+if BOARD_GOOGLE_PURIN
+
+config BOARD_SPECIFIC_OPTIONS # dummy
+ def_bool y
+ select BOARD_ID_SUPPORT
+ select BOARD_ROMSIZE_KB_2048
+ select CHROMEOS_VBNV_FLASH
+ select COMMON_CBFS_SPI_WRAPPER
+ select HAVE_HARD_RESET
+ select MAINBOARD_HAS_BOOTBLOCK_INIT
+ select SOC_BROADCOM_CYGNUS
+ select SPI_FLASH
+ select SPI_FLASH_SPANSION
+
+config MAINBOARD_DIR
+ string
+ default google/purin
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Purin"
+
+config MAINBOARD_VENDOR
+ string
+ default "Google"
+
+config VBOOT_RAMSTAGE_INDEX
+ hex
+ default 0x3
+
+config BOOT_MEDIA_SPI_BUS
+ int
+ default 2
+
+config DRAM_SIZE_MB
+ int
+ default 1024
+
+endif # BOARD_GOOGLE_PURIN