Daisuke Nojiri | a6712f3 | 2015-01-23 10:06:19 -0800 | [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 | ## |
| 15 | ## You should have received a copy of the GNU General Public License |
| 16 | ## along with this program; if not, write to the Free Software |
| 17 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | ## |
| 19 | |
| 20 | config SOC_BROADCOM_CYGNUS |
| 21 | bool |
| 22 | default n |
| 23 | select ARCH_BOOTBLOCK_ARMV7 |
| 24 | select ARCH_RAMSTAGE_ARMV7 |
| 25 | select ARCH_ROMSTAGE_ARMV7 |
| 26 | select ARCH_VERSTAGE_ARMV7 |
| 27 | select BOOTBLOCK_CONSOLE |
| 28 | select CPU_HAS_BOOTBLOCK_INIT |
| 29 | select DYNAMIC_CBMEM |
| 30 | select EARLY_CONSOLE |
| 31 | select GENERIC_UDELAY |
| 32 | select HAVE_MONOTONIC_TIMER |
| 33 | select HAVE_UART_MEMORY_MAPPED |
| 34 | select HAVE_UART_SPECIAL |
Icarus Chau | d5f551a | 2015-02-13 15:16:37 -0800 | [diff] [blame] | 35 | select HAS_PRECBMEM_TIMESTAMP_REGION |
| 36 | select RETURN_FROM_VERSTAGE |
Stefan Reinauer | 97db1fb | 2015-03-26 15:58:41 -0700 | [diff] [blame] | 37 | select GENERIC_GPIO_LIB |
Daisuke Nojiri | a6712f3 | 2015-01-23 10:06:19 -0800 | [diff] [blame] | 38 | |
| 39 | if SOC_BROADCOM_CYGNUS |
| 40 | |
| 41 | config BOOTBLOCK_CPU_INIT |
| 42 | string |
| 43 | default "soc/broadcom/cygnus/bootblock.c" |
| 44 | |
Daisuke Nojiri | c047b10 | 2015-01-23 10:02:24 -0800 | [diff] [blame] | 45 | config CONSOLE_SERIAL_UART_ADDRESS |
| 46 | hex |
Patrick Georgi | 01368ed | 2015-04-16 15:27:52 +0200 | [diff] [blame] | 47 | depends on DRIVERS_UART |
Daisuke Nojiri | c047b10 | 2015-01-23 10:02:24 -0800 | [diff] [blame] | 48 | default 0x18023000 |
| 49 | |
Icarus Chau | d5f551a | 2015-02-13 15:16:37 -0800 | [diff] [blame] | 50 | config CYGNUS_DDR800 |
| 51 | bool "DDR Speed at 800MHz" |
| 52 | default y |
| 53 | |
Icarus Chau | be47636 | 2015-04-07 16:09:24 -0700 | [diff] [blame^] | 54 | config CYGNUS_DDR_AUTO_SELF_REFRESH_ENABLE |
| 55 | bool "Enable DDR auto self-refresh" |
| 56 | default y |
| 57 | help |
| 58 | Warning: M0 expects that auto self-refresh is enabled. Modify |
| 59 | with caution. |
| 60 | |
| 61 | |
Icarus Chau | d5f551a | 2015-02-13 15:16:37 -0800 | [diff] [blame] | 62 | config CYGNUS_SHMOO_REUSE_DDR_32BIT |
| 63 | bool "Indicate if DDR width is 32-bit" |
| 64 | default n |
| 65 | |
| 66 | config CYGNUS_SDRAM_TEST_DDR |
| 67 | bool "Run a write-read test on DDR after initialization" |
| 68 | default n |
| 69 | |
| 70 | config CYGNUS_PRINT_SHMOO_DEBUG |
| 71 | bool "Print debug info for shmoo" |
| 72 | default n |
Icarus Chau | 9855895 | 2015-03-03 19:36:03 -0800 | [diff] [blame] | 73 | |
| 74 | config CYGNUS_GPIO_TEST |
| 75 | bool "Run a test on gpio" |
| 76 | default n |
| 77 | |
Daisuke Nojiri | a6712f3 | 2015-01-23 10:06:19 -0800 | [diff] [blame] | 78 | endif |