2015-01-23 19:06:19 +01:00
|
|
|
##
|
|
|
|
## This file is part of the coreboot project.
|
|
|
|
##
|
|
|
|
## Copyright 2014 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.
|
|
|
|
##
|
|
|
|
|
|
|
|
config SOC_BROADCOM_CYGNUS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select ARCH_BOOTBLOCK_ARMV7
|
|
|
|
select ARCH_RAMSTAGE_ARMV7
|
|
|
|
select ARCH_ROMSTAGE_ARMV7
|
|
|
|
select ARCH_VERSTAGE_ARMV7
|
|
|
|
select BOOTBLOCK_CONSOLE
|
|
|
|
select GENERIC_UDELAY
|
|
|
|
select HAVE_MONOTONIC_TIMER
|
|
|
|
select HAVE_UART_SPECIAL
|
2015-03-26 23:58:41 +01:00
|
|
|
select GENERIC_GPIO_LIB
|
2015-01-23 19:06:19 +01:00
|
|
|
|
|
|
|
if SOC_BROADCOM_CYGNUS
|
|
|
|
|
2017-02-14 02:53:29 +01:00
|
|
|
config VBOOT
|
2017-03-28 04:26:32 +02:00
|
|
|
select VBOOT_STARTS_IN_BOOTBLOCK
|
2017-02-14 02:53:29 +01:00
|
|
|
select VBOOT_SEPARATE_VERSTAGE
|
|
|
|
select VBOOT_RETURN_FROM_VERSTAGE
|
2015-08-18 22:22:58 +02:00
|
|
|
|
2015-01-23 19:02:24 +01:00
|
|
|
config CONSOLE_SERIAL_UART_ADDRESS
|
|
|
|
hex
|
2015-04-16 15:27:52 +02:00
|
|
|
depends on DRIVERS_UART
|
2015-01-23 19:02:24 +01:00
|
|
|
default 0x18023000
|
|
|
|
|
2016-11-11 18:31:48 +01:00
|
|
|
config CYGNUS_DDR333
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config CYGNUS_DDR400
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config CYGNUS_DDR533
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
config CYGNUS_DDR667
|
|
|
|
def_bool n
|
|
|
|
|
2015-02-14 00:16:37 +01:00
|
|
|
config CYGNUS_DDR800
|
|
|
|
bool "DDR Speed at 800MHz"
|
|
|
|
default y
|
|
|
|
|
2015-04-08 01:09:24 +02:00
|
|
|
config CYGNUS_DDR_AUTO_SELF_REFRESH_ENABLE
|
|
|
|
bool "Enable DDR auto self-refresh"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Warning: M0 expects that auto self-refresh is enabled. Modify
|
|
|
|
with caution.
|
|
|
|
|
|
|
|
|
2015-02-14 00:16:37 +01:00
|
|
|
config CYGNUS_SHMOO_REUSE_DDR_32BIT
|
|
|
|
bool "Indicate if DDR width is 32-bit"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config CYGNUS_SDRAM_TEST_DDR
|
|
|
|
bool "Run a write-read test on DDR after initialization"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config CYGNUS_PRINT_SHMOO_DEBUG
|
|
|
|
bool "Print debug info for shmoo"
|
|
|
|
default n
|
2015-03-04 04:36:03 +01:00
|
|
|
|
|
|
|
config CYGNUS_GPIO_TEST
|
|
|
|
bool "Run a test on gpio"
|
|
|
|
default n
|
|
|
|
|
2015-01-23 19:06:19 +01:00
|
|
|
endif
|