[U-Boot] [PATCH 1/2] armv8: ls1028aqds: switch LS1028A QDS board to I2C DM

Alex Marginean alexandru.marginean at nxp.com
Fri Jul 12 11:23:19 UTC 2019


Replace legacy I2C_EARLY_INIT with dm-pre-reloc dts property.

Signed-off-by: Alex Marginean <alexm.osslist at gmail.com>
---

Depends on this patch series:
https://patchwork.ozlabs.org/project/uboot/list/?series=118778

 arch/arm/dts/fsl-ls1028a-qds.dts | 1 +
 include/configs/ls1028aqds.h     | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/fsl-ls1028a-qds.dts b/arch/arm/dts/fsl-ls1028a-qds.dts
index e308989a00..717ab0a994 100644
--- a/arch/arm/dts/fsl-ls1028a-qds.dts
+++ b/arch/arm/dts/fsl-ls1028a-qds.dts
@@ -37,6 +37,7 @@
 
 &i2c0 {
 	status = "okay";
+	u-boot,dm-pre-reloc;
 
 	fpga at 66 {
 		#address-cells = <1>;
diff --git a/include/configs/ls1028aqds.h b/include/configs/ls1028aqds.h
index be018ef2be..b0e9441a48 100644
--- a/include/configs/ls1028aqds.h
+++ b/include/configs/ls1028aqds.h
@@ -16,7 +16,6 @@
 #define CONFIG_DIMM_SLOTS_PER_CTLR		2
 
 #define CONFIG_QIXIS_I2C_ACCESS
-#define CONFIG_SYS_I2C_EARLY_INIT
 
 /*
  * QIXIS Definitions
-- 
2.17.1



More information about the U-Boot mailing list