public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] armv8: ls1028aqds: switch LS1028A QDS board to I2C DM
@ 2019-07-12 11:23 Alex Marginean
  2019-07-12 11:23 ` [U-Boot] [PATCH 2/2] configs: ls1028aqds: enable I2C and GPIO DM Alex Marginean
  2019-07-13  3:47 ` [U-Boot] [PATCH 1/2] armv8: ls1028aqds: switch LS1028A QDS board to I2C DM Bin Meng
  0 siblings, 2 replies; 8+ messages in thread
From: Alex Marginean @ 2019-07-12 11:23 UTC (permalink / raw)
  To: u-boot

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

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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-07-15  7:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-12 11:23 [U-Boot] [PATCH 1/2] armv8: ls1028aqds: switch LS1028A QDS board to I2C DM Alex Marginean
2019-07-12 11:23 ` [U-Boot] [PATCH 2/2] configs: ls1028aqds: enable I2C and GPIO DM Alex Marginean
2019-07-13  3:47   ` Bin Meng
2019-07-15  2:35   ` Chuanhua Han
2019-07-13  3:47 ` [U-Boot] [PATCH 1/2] armv8: ls1028aqds: switch LS1028A QDS board to I2C DM Bin Meng
2019-07-15  2:37   ` [U-Boot] [EXT] " Chuanhua Han
2019-07-15  6:30     ` Alex Marginean
2019-07-15  7:18       ` Alex Marginean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox