blob: 8cafc4bc64e3d48f00b6b29b6e616d609826189f [file] [log] [blame]
Daisuke Nojiria6712f32015-01-23 10:06:19 -08001##
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##
Daisuke Nojiria6712f32015-01-23 10:06:19 -080015
16config SOC_BROADCOM_CYGNUS
17 bool
18 default n
19 select ARCH_BOOTBLOCK_ARMV7
20 select ARCH_RAMSTAGE_ARMV7
21 select ARCH_ROMSTAGE_ARMV7
22 select ARCH_VERSTAGE_ARMV7
23 select BOOTBLOCK_CONSOLE
Daisuke Nojiria6712f32015-01-23 10:06:19 -080024 select GENERIC_UDELAY
25 select HAVE_MONOTONIC_TIMER
Daisuke Nojiria6712f32015-01-23 10:06:19 -080026 select HAVE_UART_SPECIAL
Icarus Chaud5f551a2015-02-13 15:16:37 -080027 select HAS_PRECBMEM_TIMESTAMP_REGION
Stefan Reinauer97db1fb2015-03-26 15:58:41 -070028 select GENERIC_GPIO_LIB
Daisuke Nojiria6712f32015-01-23 10:06:19 -080029
30if SOC_BROADCOM_CYGNUS
31
Martin Roth967cd9a2015-08-18 14:22:58 -060032config CHROMEOS
33 select SEPARATE_VERSTAGE
34 select RETURN_FROM_VERSTAGE
35
Daisuke Nojiric047b102015-01-23 10:02:24 -080036config CONSOLE_SERIAL_UART_ADDRESS
37 hex
Patrick Georgi01368ed2015-04-16 15:27:52 +020038 depends on DRIVERS_UART
Daisuke Nojiric047b102015-01-23 10:02:24 -080039 default 0x18023000
40
Icarus Chaud5f551a2015-02-13 15:16:37 -080041config CYGNUS_DDR800
42 bool "DDR Speed at 800MHz"
43 default y
44
Icarus Chaube476362015-04-07 16:09:24 -070045config CYGNUS_DDR_AUTO_SELF_REFRESH_ENABLE
46 bool "Enable DDR auto self-refresh"
47 default y
48 help
49 Warning: M0 expects that auto self-refresh is enabled. Modify
50 with caution.
51
52
Icarus Chaud5f551a2015-02-13 15:16:37 -080053config CYGNUS_SHMOO_REUSE_DDR_32BIT
54 bool "Indicate if DDR width is 32-bit"
55 default n
56
57config CYGNUS_SDRAM_TEST_DDR
58 bool "Run a write-read test on DDR after initialization"
59 default n
60
61config CYGNUS_PRINT_SHMOO_DEBUG
62 bool "Print debug info for shmoo"
63 default n
Icarus Chau98558952015-03-03 19:36:03 -080064
65config CYGNUS_GPIO_TEST
66 bool "Run a test on gpio"
67 default n
68
Daisuke Nojiria6712f32015-01-23 10:06:19 -080069endif