diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-10-30 15:43:26 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-10-30 15:43:26 +0800 |
commit | a899a6c0ed9a3066557fb170850f977b6bd7366f (patch) | |
tree | 78f7b1166fc1bd0265bcb61990130479528b09c4 /arch/arm/include/asm/arch-lpc32xx/i2c.h | |
parent | 1a691f101632955a994a0198fc5498b108e97fbc (diff) | |
download | uext4-a899a6c0ed9a3066557fb170850f977b6bd7366f.tar.xz |
rm arch/arm/include/asm/arch-*
Diffstat (limited to 'arch/arm/include/asm/arch-lpc32xx/i2c.h')
-rw-r--r-- | arch/arm/include/asm/arch-lpc32xx/i2c.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/arch/arm/include/asm/arch-lpc32xx/i2c.h b/arch/arm/include/asm/arch-lpc32xx/i2c.h deleted file mode 100644 index 5301d4c..0000000 --- a/arch/arm/include/asm/arch-lpc32xx/i2c.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef _LPC32XX_I2C_H -#define _LPC32XX_I2C_H - -#include <common.h> -#include <asm/types.h> - -/* i2c register set */ -struct lpc32xx_i2c_base { - union { - u32 rx; - u32 tx; - }; - u32 stat; - u32 ctrl; - u32 clk_hi; - u32 clk_lo; - u32 adr; - u32 rxfl; - u32 txfl; - u32 rxb; - u32 txb; - u32 stx; - u32 stxfl; -}; - -#ifdef CONFIG_DM_I2C -enum { - I2C_0, I2C_1, I2C_2, -}; - -struct lpc32xx_i2c_dev { - struct lpc32xx_i2c_base *base; - int index; - uint speed; -}; -#endif /* CONFIG_DM_I2C */ -#endif /* _LPC32XX_I2C_H */ |