mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 17:10:11 +00:00
mxc_i2c: Add support for the i.MX35 processor
Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Heiko Schocher <hs@denx.de> Acked-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
1b22b0d35b
commit
04220612f6
1 changed files with 5 additions and 4 deletions
|
@ -29,9 +29,8 @@
|
||||||
#if defined(CONFIG_MX31)
|
#if defined(CONFIG_MX31)
|
||||||
#include <asm/arch/mx31.h>
|
#include <asm/arch/mx31.h>
|
||||||
#include <asm/arch/mx31-regs.h>
|
#include <asm/arch/mx31-regs.h>
|
||||||
#endif
|
#else
|
||||||
|
#include <asm/arch/imx-regs.h>
|
||||||
#if defined(CONFIG_MX53)
|
|
||||||
#include <asm/arch/clock.h>
|
#include <asm/arch/clock.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -66,8 +65,10 @@
|
||||||
#define I2C_BASE I2C1_BASE_ADDR
|
#define I2C_BASE I2C1_BASE_ADDR
|
||||||
#elif defined(CONFIG_SYS_I2C_MX53_PORT2)
|
#elif defined(CONFIG_SYS_I2C_MX53_PORT2)
|
||||||
#define I2C_BASE I2C2_BASE_ADDR
|
#define I2C_BASE I2C2_BASE_ADDR
|
||||||
|
#elif defined(CONFIG_SYS_I2C_MX35_PORT1)
|
||||||
|
#define I2C_BASE I2C_BASE_ADDR
|
||||||
#else
|
#else
|
||||||
#error "define CONFIG_SYS_I2C_MXxx_PORTx to use the I2C driver"
|
#error "define CONFIG_SYS_I2C_MX<Processor>_PORTx to use the mx I2C driver"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
Loading…
Reference in a new issue