summaryrefslogtreecommitdiff
path: root/src/mainboard/cavium
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-06-14 15:11:57 +0200
committerPatrick Rudolph <siro@das-labor.org>2018-07-23 06:36:21 +0000
commit3f4f5a34ede8ae730ebffd96e6a78cad2fa6baf9 (patch)
tree73a6b84d19c5e97ff50f96ff30e7d2ce54a84b44 /src/mainboard/cavium
parentde4410c51fe5c5113643663644dd635c917a7ab2 (diff)
downloadcoreboot-3f4f5a34ede8ae730ebffd96e6a78cad2fa6baf9.tar.xz
soc/cavium: Enable DRAM test
Enable fast or extended DRAM test based on devicetree setting. The fast DRAM test takes less than a second, while the extended runs about 1 minute. Tested on Cavium Soc. Change-Id: I6a375f3d4c5cea7c3c0cd4592287f3f85dc7d3cf Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/27103 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'src/mainboard/cavium')
-rw-r--r--src/mainboard/cavium/cn8100_sff_evb/bdk_devicetree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/cavium/cn8100_sff_evb/bdk_devicetree.c b/src/mainboard/cavium/cn8100_sff_evb/bdk_devicetree.c
index 8775886263..237e73d917 100644
--- a/src/mainboard/cavium/cn8100_sff_evb/bdk_devicetree.c
+++ b/src/mainboard/cavium/cn8100_sff_evb/bdk_devicetree.c
@@ -20,6 +20,7 @@
#include <bdk-devicetree.h>
const struct bdk_devicetree_key_value devtree[] = {
+{"DDR-TEST-BOOT", "1"},
{"DDR-CONFIG-DQX-CTL", "0x4"},
{"DDR-CONFIG-WODT-MASK.RANKS2.DIMMS2", "0xc0c0303"},
{"DDR-CONFIG-WODT-MASK.RANKS4.DIMMS1", "0x1030203"},