aboutsummaryrefslogtreecommitdiff
path: root/src/soc/broadcom/cygnus/Kconfig
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-11-11 10:31:48 -0700
committerMartin Roth <martinroth@google.com>2016-11-17 17:57:09 +0100
commitb9e8ad8f681042bae5f3da420719f64b2fd75141 (patch)
tree9b1de338f251fd8b049d99c45ff8df4f1d35238c /src/soc/broadcom/cygnus/Kconfig
parent1cf5b87f48668055e531a13c143abf697934dc80 (diff)
soc/broadcom/cygnus: Update DDR Kconfig
The DDR speed Kconfig symbols needed to either be added to the Kconfig tree, or have the code associated with them removed. I chose to add the symbols. - Add symbols for DDR333 - DDR667 to cygnus Kconfig. These should be selected by the mainboard. - Rename symbols from DDRXXX to CYGNUS_DDRXXX to match the existing CYGNUS_DDR800 symbol. - Rename the non Kconfig #define CONFIG_DRAM_FREQ to CYGNUS_DRAM_FREQ because having other #defines look like Kconfig symbols is confusing. - Change #ifdef CONFIG_DDRXXX to use IS_ENABLED Change-Id: I3f5957a595072434c21af0002d57ac49b48b1e43 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/17386 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'src/soc/broadcom/cygnus/Kconfig')
-rw-r--r--src/soc/broadcom/cygnus/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/broadcom/cygnus/Kconfig b/src/soc/broadcom/cygnus/Kconfig
index d4c34c9243..46109030ce 100644
--- a/src/soc/broadcom/cygnus/Kconfig
+++ b/src/soc/broadcom/cygnus/Kconfig
@@ -37,6 +37,18 @@ config CONSOLE_SERIAL_UART_ADDRESS
depends on DRIVERS_UART
default 0x18023000
+config CYGNUS_DDR333
+ def_bool n
+
+config CYGNUS_DDR400
+ def_bool n
+
+config CYGNUS_DDR533
+ def_bool n
+
+config CYGNUS_DDR667
+ def_bool n
+
config CYGNUS_DDR800
bool "DDR Speed at 800MHz"
default y