projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ti: remove usage of DM_I2C_COMPAT and don't disable DM_I2C in SPL
[oweals/u-boot.git]
/
arch
/
arm
/
mach-omap2
/
clocks-common.c
diff --git
a/arch/arm/mach-omap2/clocks-common.c
b/arch/arm/mach-omap2/clocks-common.c
index 790548ee7996846c2477ee70fbc732773b7abe76..5932d694d3009862400198f772a061860df29d55 100644
(file)
--- a/
arch/arm/mach-omap2/clocks-common.c
+++ b/
arch/arm/mach-omap2/clocks-common.c
@@
-909,6
+909,7
@@
void prcm_init(void)
enable_basic_uboot_clocks();
}
+#if !defined(CONFIG_DM_I2C)
void gpi2c_init(void)
{
static int gpi2c = 1;
@@
-919,3
+920,4
@@
void gpi2c_init(void)
gpi2c = 0;
}
}
+#endif