summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-07-12 11:47:37 +0200
committerPatrick Rudolph <siro@das-labor.org>2018-07-17 08:04:21 +0000
commitde8e68917fac12e3448cc8f3bde08d444642ce8a (patch)
treea0e753875d1ba71a203e329b1801500ab6e1917c /src/soc
parent8247f3df67e59ad3cfddd1aa98526593e37b8c76 (diff)
downloadcoreboot-de8e68917fac12e3448cc8f3bde08d444642ce8a.tar.xz
bdk: Use Kconfig options instead of getenv()
* Use Kconfig options instead of unusable getenv * Select CAVIUM_BDK_DDR_TUNE_HW_OFFSETS on CN81XX * Fix Coverity CID 1393976 (DEADCODE) Tested on Cavium's cn8100_sff_evb. Change-Id: Ia16c0161b0e9cf5d06418e46556c0fb45532a5b1 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/27448 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/cavium/cn81xx/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/cavium/cn81xx/Kconfig b/src/soc/cavium/cn81xx/Kconfig
index ca8fbd0f46..9cc7b48438 100644
--- a/src/soc/cavium/cn81xx/Kconfig
+++ b/src/soc/cavium/cn81xx/Kconfig
@@ -11,6 +11,7 @@ config SOC_CAVIUM_CN81XX
select HAVE_MONOTONIC_TIMER
select UART_OVERRIDE_REFCLK
select SOC_CAVIUM_COMMON
+ select CAVIUM_BDK_DDR_TUNE_HW_OFFSETS
if SOC_CAVIUM_CN81XX