diff options
author | André Schwarz <andre.schwarz@matrix-vision.de> | 2009-07-17 12:50:24 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-23 19:12:41 (GMT) |
commit | e3b39f84e974df70065fa248f0f63993b1708c9d (patch) | |
tree | 66f76162f3c49219de2a2a66fcdc8b7794e8b2b3 /include/configs/MVBC_P.h | |
parent | cb6d0b72c2c4f13c0075a7ae92e11682ec94a311 (diff) | |
download | u-boot-e3b39f84e974df70065fa248f0f63993b1708c9d.tar.xz |
update config for mvBC-P (MPC5200)
This patch adds I2C support for mvBC-P and defines flash layout
matching the shipped product.
Signed-off-by: André Schwarz <andre.schwarz@matrix-vision.de>
Diffstat (limited to 'include/configs/MVBC_P.h')
-rw-r--r-- | include/configs/MVBC_P.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/configs/MVBC_P.h b/include/configs/MVBC_P.h index edbc701..867e8e0 100644 --- a/include/configs/MVBC_P.h +++ b/include/configs/MVBC_P.h @@ -68,9 +68,9 @@ #define MV_VCI mvBlueCOUGAR-P #define MV_FPGA_DATA 0xff860000 #define MV_FPGA_SIZE 0x0003c886 -#define MV_KERNEL_ADDR 0xffc00000 +#define MV_KERNEL_ADDR 0xffd00000 #define MV_INITRD_ADDR 0xff900000 -#define MV_INITRD_LENGTH 0x00300000 +#define MV_INITRD_LENGTH 0x00400000 #define MV_SCRATCH_ADDR 0x00000000 #define MV_SCRATCH_LENGTH MV_INITRD_LENGTH #define MV_SOURCE_ADDR 0xff840000 @@ -105,6 +105,7 @@ #define CONFIG_CMD_SDRAM #define CONFIG_CMD_PCI #define CONFIG_CMD_FPGA +#define CONFIG_CMD_I2C #undef CONFIG_WATCHDOG @@ -182,6 +183,7 @@ "propdev_debug=0\0" \ "gevss_debug=0\0" \ "watchdog=1\0" \ + "sensor_cnt=1\0" \ "" #undef XMK_STR @@ -249,6 +251,14 @@ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) /* + * I2C configuration + */ +#define CONFIG_HARD_I2C 1 +#define CONFIG_SYS_I2C_MODULE 1 +#define CONFIG_SYS_I2C_SPEED 86000 +#define CONFIG_SYS_I2C_SLAVE 0x7F + +/* * Ethernet configuration */ #define CONFIG_NET_MULTI |