diff options
author | Simon Glass <sjg@chromium.org> | 2020-01-23 11:48:05 -0700 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2020-01-27 07:18:32 +0100 |
commit | 25eb0fb667dc64cb819905deccccbb36908e5bd6 (patch) | |
tree | cb75b488d4494ba09c01dfa955a6a409d1b9da62 /drivers | |
parent | 0fd05c9dcfd1f355bcc426cd263da8b2b85706ad (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/designware_i2c.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/designware_i2c.h b/drivers/i2c/designware_i2c.h index 3b407d2bed..10fb7d7d3e 100644 --- a/drivers/i2c/designware_i2c.h +++ b/drivers/i2c/designware_i2c.h @@ -59,9 +59,7 @@ struct i2c_regs { u32 comp_type; }; -#if !defined(IC_CLK) #define IC_CLK 166 -#endif #define NANO_TO_MICRO 1000 /* High and low times in different speed modes (in ns) */ |