aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAngelo Dureghello2023-04-05 00:59:23 +0200
committerHeiko Schocher2023-04-11 06:50:57 +0200
commit5d3a5f330d6bdb53ea17cff1ec724f6256521366 (patch)
tree9c53d2eb86f11f0ffb65ac4898f419f146a5e843 /arch
parentb4004c2949732ad8a6cb42f27a1c472d39216b72 (diff)
m68k: move CONFIG_SYS_I2C to CFG_ namespace
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/cpu/mcf5445x/cpu_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/cpu/mcf5445x/cpu_init.c b/arch/m68k/cpu/mcf5445x/cpu_init.c
index 1ce244872f1..bc3a2f3aed6 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 */