]> git.sur5r.net Git - u-boot/commitdiff
arm64: zynqmp: Enable SPD ddr support for zcu102 targets
authorMichal Simek <michal.simek@xilinx.com>
Mon, 4 Jun 2018 06:27:50 +0000 (08:27 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 15 Jun 2018 06:06:31 +0000 (08:06 +0200)
zcu102 contains DIMM with SPD on it at 0x51 address.
For example:
i2c dev 13
i2c sdram 51

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
configs/xilinx_zynqmp_zcu102_rev1_0_defconfig
configs/xilinx_zynqmp_zcu102_revA_defconfig
configs/xilinx_zynqmp_zcu102_revB_defconfig
include/configs/xilinx_zynqmp_zcu102.h

index 9b0f9dfdc076e4537478fb0c987d3c4977824535..49a14d87a8e2ad86865f058027a657aa798ee20f 100644 (file)
@@ -35,6 +35,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_TIME=y
index 8def1c5ea921911234e390c187e5b157f0adc74d..05dad41acbb874e7e15b5f7eecc1e77fe29f0ad7 100644 (file)
@@ -34,6 +34,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_TIME=y
index 618f1ed36f3235831650b4f832f803cb08c8b228..b3711b43e8747d610e7b92f4600fffd0a0f5bfc7 100644 (file)
@@ -34,6 +34,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_TIME=y
index ca11b97c7c4c11c491c9223d1d1e98621369a758..ad6bc3d1bf119d86ce66bf8ba19d9749f5b90235 100644 (file)
@@ -39,6 +39,9 @@
 #define CONFIG_ZYNQ_EEPROM_BUS         5
 #define CONFIG_ZYNQ_GEM_EEPROM_ADDR    0x54
 
+#define CONFIG_SPD_EEPROM
+#define CONFIG_DDR_SPD
+
 #include <configs/xilinx_zynqmp.h>
 
 #endif /* __CONFIG_ZYNQMP_ZCU102_H */