From: Angelo Dureghello <angelo@kernel-space.org>
To: trini@konsulko.com, hs@denx.de
Cc: u-boot@lists.denx.de, mario.six@gdsys.cc,
Angelo Dureghello <angelo@kernel-space.org>
Subject: [PATCH 1/6] m68k: move CONFIG_SYS_I2C to CFG_ namespace
Date: Wed, 5 Apr 2023 00:59:23 +0200 [thread overview]
Message-ID: <20230404225928.3032456-1-angelo@kernel-space.org> (raw)
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
next reply other threads:[~2023-04-04 22:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-04 22:59 Angelo Dureghello [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230404225928.3032456-1-angelo@kernel-space.org \
--to=angelo@kernel-space.org \
--cc=hs@denx.de \
--cc=mario.six@gdsys.cc \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox