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

Signed-off-by: Alex Marginean <alexm.ossl...@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@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to