git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db457e6
)
m68k: mcf5441x: fix CONFIG_SYS_FSL_I2C definition
author
Angelo Dureghello
<angelo@kernel-space.org>
Tue, 4 Apr 2023 22:59:25 +0000
(
00:59
+0200)
committer
Heiko Schocher
<hs@denx.de>
Tue, 11 Apr 2023 04:51:51 +0000
(06:51 +0200)
Fix CONFIG_SYS_FSL_I2C to correct name CONFIG_SYS_I2C_FSL.
Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
arch/m68k/cpu/mcf5445x/speed.c
patch
|
blob
|
history
diff --git
a/arch/m68k/cpu/mcf5445x/speed.c
b/arch/m68k/cpu/mcf5445x/speed.c
index
eb73da6
..
5c78eb9
100644
(file)
--- a/
arch/m68k/cpu/mcf5445x/speed.c
+++ b/
arch/m68k/cpu/mcf5445x/speed.c
@@
-129,9
+129,8
@@
int get_clocks(void)
setup_5441x_clocks();
#endif
-#ifdef CONFIG_SYS_FSL_I2C
- gd->arch.i2c1_clk = gd->bus_clk;
-#endif
+ if (IS_ENABLED(CONFIG_SYS_I2C_FSL))
+ gd->arch.i2c1_clk = gd->bus_clk;
return (0);
}