From b9e8ad8f681042bae5f3da420719f64b2fd75141 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 11 Nov 2016 10:31:48 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/17386 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Daisuke Nojiri --- src/soc/broadcom/cygnus/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/soc/broadcom/cygnus/Kconfig') 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 -- cgit v1.2.3