summaryrefslogtreecommitdiff
path: root/src/vendorcode/cavium/Kconfig
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/vendorcode/cavium/Kconfig
parent8247f3df67e59ad3cfddd1aa98526593e37b8c76 (diff)
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/vendorcode/cavium/Kconfig')
-rw-r--r--src/vendorcode/cavium/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/vendorcode/cavium/Kconfig b/src/vendorcode/cavium/Kconfig
index 80377620ae..9538d1cab2 100644
--- a/src/vendorcode/cavium/Kconfig
+++ b/src/vendorcode/cavium/Kconfig
@@ -65,6 +65,27 @@ config CAVIUM_BDK_VERBOSE_PHY
depends on CAVIUM_BDK
help
Build Cavium's BDK with verbose PHY code.
+
+config CAVIUM_BDK_DDR_TUNE_HW_OFFSETS
+ bool "Hardware assisted DLL read offset tuning"
+ default n
+ depends on CAVIUM_BDK
+
+ help
+ Automatically tune the data byte DLL read offsets.
+ Always done by default, but allow use of HW-assist.
+ NOTE: HW-assist will also tune the ECC byte.
+
+config CAVIUM_BDK_DDR_TUNE_WRITE_OFFSETS
+ bool "Automatically tune the data byte DLL write offsets"
+ default n
+ depends on CAVIUM_BDK
+
+config CAVIUM_BDK_DDR_TUNE_ECC_ENABLE
+ bool "Automatically tune the ECC byte DLL read offsets"
+ default n
+ depends on CAVIUM_BDK
+
endmenu
endif