diff options
author | Jon Loeliger <jdl@freescale.com> | 2006-10-20 15:50:15 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-10-20 15:50:15 -0500 |
commit | 2047672684cf85cb6f96a1fbc993180aaaf19a99 (patch) | |
tree | 6c282cc7fd149edb7fe78b1afd4417f20a7aa99f /include/configs/MPC8560ADS.h | |
parent | 4d45f69e362b05892c9e92a7907e5820995612aa (diff) | |
download | u-boot-imx-2047672684cf85cb6f96a1fbc993180aaaf19a99.zip u-boot-imx-2047672684cf85cb6f96a1fbc993180aaaf19a99.tar.gz u-boot-imx-2047672684cf85cb6f96a1fbc993180aaaf19a99.tar.bz2 |
Converted all 85xx boards to use a common FSL I2C driver.
Introduced COFIG_FSL_I2C to select the common FSL I2C driver.
And removed hard i2c path from a few u-boot.lds scipts too.
Minor whitespace cleanups along the way.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/MPC8560ADS.h')
-rw-r--r-- | include/configs/MPC8560ADS.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h index 1c684f2..835bf5c 100644 --- a/include/configs/MPC8560ADS.h +++ b/include/configs/MPC8560ADS.h @@ -302,12 +302,16 @@ #define OF_TBCLK (bd->bi_busfreq / 8) #define OF_STDOUT_PATH "/soc8560@e0000000/serial@4500" -/* I2C */ -#define CONFIG_HARD_I2C /* I2C with hardware support*/ +/* + * I2C + */ +#define CONFIG_FSL_I2C /* Use FSL common I2C driver */ +#define CONFIG_HARD_I2C /* I2C with hardware support*/ #undef CONFIG_SOFT_I2C /* I2C bit-banged */ #define CFG_I2C_SPEED 400000 /* I2C speed and slave address */ #define CFG_I2C_SLAVE 0x7F #define CFG_I2C_NOPROBES {0x69} /* Don't probe these addrs */ +#define CFG_I2C_OFFSET 0x3000 /* RapidIO MMU */ #define CFG_RIO_MEM_BASE 0xc0000000 /* base address */ |