summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/ast_i2c.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-01-23 11:48:17 -0700
committerHeiko Schocher <hs@denx.de>2020-01-27 07:22:41 +0100
commit642400ced6b5947f8f7aa80558fdbdf1b173a735 (patch)
tree3d28b11b21f2f912117a7d0ca94cbe6a1178488e /drivers/i2c/ast_i2c.h
parent7bd21b626477ea2e3c45e8fa2bf16e8d86a0e5fa (diff)
downloadu-boot-642400ced6b5947f8f7aa80558fdbdf1b173a735.tar.gz
u-boot-642400ced6b5947f8f7aa80558fdbdf1b173a735.tar.xz
u-boot-642400ced6b5947f8f7aa80558fdbdf1b173a735.zip
i2c: ast_i2c: Update to use standard enums for speed
Update this driver to use the new standard enums for speed. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/i2c/ast_i2c.h')
-rw-r--r--drivers/i2c/ast_i2c.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/ast_i2c.h b/drivers/i2c/ast_i2c.h
index 401e0970f7..928785989e 100644
--- a/drivers/i2c/ast_i2c.h
+++ b/drivers/i2c/ast_i2c.h
@@ -126,6 +126,4 @@ struct ast_i2c_regs {
#define I2CD_RX_DATA_SHIFT 8
#define I2CD_RX_DATA_MASK (0xff << I2CD_RX_DATA_SHIFT)
-#define I2C_HIGHSPEED_RATE 400000
-
#endif /* __AST_I2C_H_ */