diff options
author | mario.six@gdsys.cc <mario.six@gdsys.cc> | 2016-04-25 08:31:01 +0200 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2016-05-17 08:28:52 +0200 |
commit | ec2c81c5d4681274f9f9d079b08ed259ff20dc69 (patch) | |
tree | aa6ebe891785c140e1ee31a6e976258a87a5f47a /arch/powerpc/include/asm | |
parent | b6a77b0ce8ac21c154f02907c364b6d3e3c8af5e (diff) | |
download | u-boot-imx-ec2c81c5d4681274f9f9d079b08ed259ff20dc69.zip u-boot-imx-ec2c81c5d4681274f9f9d079b08ed259ff20dc69.tar.gz u-boot-imx-ec2c81c5d4681274f9f9d079b08ed259ff20dc69.tar.bz2 |
dm: fsl_i2c: Rename I2C register structure
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/fsl_i2c.h | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/immap_85xx.h | 4 | ||||
-rw-r--r-- | arch/powerpc/include/asm/immap_86xx.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/fsl_i2c.h b/arch/powerpc/include/asm/fsl_i2c.h index cbbc834..e94bdc6 100644 --- a/arch/powerpc/include/asm/fsl_i2c.h +++ b/arch/powerpc/include/asm/fsl_i2c.h @@ -16,7 +16,7 @@ #include <asm/types.h> -typedef struct fsl_i2c { +typedef struct fsl_i2c_base { u8 adr; /* I2C slave address */ u8 res0[3]; diff --git a/arch/powerpc/include/asm/immap_85xx.h b/arch/powerpc/include/asm/immap_85xx.h index 53ca6d9..07d2adf 100644 --- a/arch/powerpc/include/asm/immap_85xx.h +++ b/arch/powerpc/include/asm/immap_85xx.h @@ -120,8 +120,8 @@ typedef struct ccsr_local_ecm { /* I2C Registers */ typedef struct ccsr_i2c { - struct fsl_i2c i2c[1]; - u8 res[4096 - 1 * sizeof(struct fsl_i2c)]; + struct fsl_i2c_base i2c[1]; + u8 res[4096 - 1 * sizeof(struct fsl_i2c_base)]; } ccsr_i2c_t; #if defined(CONFIG_MPC8540) \ diff --git a/arch/powerpc/include/asm/immap_86xx.h b/arch/powerpc/include/asm/immap_86xx.h index 177918b..b078569 100644 --- a/arch/powerpc/include/asm/immap_86xx.h +++ b/arch/powerpc/include/asm/immap_86xx.h @@ -92,8 +92,8 @@ typedef struct ccsr_local_mcm { /* Daul I2C Registers(0x3000-0x4000) */ typedef struct ccsr_i2c { - struct fsl_i2c i2c[2]; - u8 res[4096 - 2 * sizeof(struct fsl_i2c)]; + struct fsl_i2c_base i2c[2]; + u8 res[4096 - 2 * sizeof(struct fsl_i2c_base)]; } ccsr_i2c_t; /* DUART Registers(0x4000-0x5000) */ |