mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 15:12:21 +00:00
i2c: designware_i2c: Don't allow changing IC_CLK
If a different input clock is required then the correct way to do this is with a clock driver. Don't allow boards to override IC_CLK. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
0fd05c9dcf
commit
25eb0fb667
1 changed files with 0 additions and 2 deletions
|
@ -59,9 +59,7 @@ struct i2c_regs {
|
||||||
u32 comp_type;
|
u32 comp_type;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if !defined(IC_CLK)
|
|
||||||
#define IC_CLK 166
|
#define IC_CLK 166
|
||||||
#endif
|
|
||||||
#define NANO_TO_MICRO 1000
|
#define NANO_TO_MICRO 1000
|
||||||
|
|
||||||
/* High and low times in different speed modes (in ns) */
|
/* High and low times in different speed modes (in ns) */
|
||||||
|
|
Loading…
Reference in a new issue