public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/6] m68k: move CONFIG_SYS_I2C to CFG_ namespace
@ 2023-04-04 22:59 Angelo Dureghello
  2023-04-04 22:59 ` [PATCH 2/6] board: stmark2: add i2c0 pinmux pad configuration Angelo Dureghello
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Angelo Dureghello @ 2023-04-04 22:59 UTC (permalink / raw)
  To: trini, hs; +Cc: u-boot, mario.six, Angelo Dureghello

Move CONFIG_SYS_I2C_X to CFG_ namespace.
This is a preliminary step to move to dm i2c.

Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
---
 arch/m68k/cpu/mcf5445x/cpu_init.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/m68k/cpu/mcf5445x/cpu_init.c b/arch/m68k/cpu/mcf5445x/cpu_init.c
index 1ce244872f..bc3a2f3aed 100644
--- a/arch/m68k/cpu/mcf5445x/cpu_init.c
+++ b/arch/m68k/cpu/mcf5445x/cpu_init.c
@@ -159,14 +159,14 @@ void cpu_init_f(void)
 	/* NAND */
 	out_8(&pm->pmcr0, 63);
 
-#ifdef CONFIG_SYS_I2C_0
+#ifdef CFG_SYS_I2C_0
 	out_8(&gpio->par_cani2c, 0xF0);
 	/* I2C0 pull up */
 	out_be16(&gpio->pcr_b, 0x003C);
 	/* I2C0 max speed */
 	out_8(&gpio->srcr_cani2c, 0x03);
 #endif
-#ifdef CONFIG_SYS_I2C_2
+#ifdef CFG_SYS_I2C_2
 	/* I2C2 */
 	out_8(&gpio->par_ssi0h, 0xA0);
 	/* I2C2, UART7 */
@@ -184,7 +184,7 @@ void cpu_init_f(void)
 	/* I2C2 pull up */
 	out_be16(&gpio->pcr_h, 0xF000);
 #endif
-#ifdef CONFIG_SYS_I2C_5
+#ifdef CFG_SYS_I2C_5
 	/* I2C5 */
 	out_8(&gpio->par_uart1, 0x0A);
 	/* I2C5 pull up */
-- 
2.40.0


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

end of thread, other threads:[~2023-04-11 11:03 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-04 22:59 [PATCH 1/6] m68k: move CONFIG_SYS_I2C to CFG_ namespace Angelo Dureghello
2023-04-04 22:59 ` [PATCH 2/6] board: stmark2: add i2c0 pinmux pad configuration Angelo Dureghello
2023-04-11 11:01   ` Heiko Schocher
2023-04-04 22:59 ` [PATCH 3/6] m68k: mcf5441x: fix CONFIG_SYS_FSL_I2C definition Angelo Dureghello
2023-04-11 11:02   ` Heiko Schocher
2023-04-04 22:59 ` [PATCH 4/6] i2c: fsl_i2c: fix m68k transferts Angelo Dureghello
2023-04-11 11:02   ` Heiko Schocher
2023-04-04 22:59 ` [PATCH 5/6] m68k: dts: add i2c nodes Angelo Dureghello
2023-04-11 11:03   ` Heiko Schocher
2023-04-04 22:59 ` [PATCH 6/6] m68k: upgrading all boards to dm i2c Angelo Dureghello
2023-04-11  4:41   ` Heiko Schocher
2023-04-11  7:40     ` Angelo Dureghello
2023-04-11  8:00       ` Heiko Schocher
2023-04-11 11:03   ` Heiko Schocher
2023-04-11 11:01 ` [PATCH 1/6] m68k: move CONFIG_SYS_I2C to CFG_ namespace Heiko Schocher

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