Messages in this thread Patch in this message | | | From | Daniel Glöckner <> | Subject | [patch 3/5] xtensa: add at24hc02b to s6105 platform | Date | Mon, 23 Mar 2009 16:05:16 +0100 |
| |
This is particularly used to read the MAC address of the ethernet controller from an EEPROM.
Signed-off-by: Daniel Glöckner <dg@emlix.com> --- arch/xtensa/platforms/s6105/device.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/xtensa/platforms/s6105/device.c b/arch/xtensa/platforms/s6105/device.c index 00f52ee..9394e6f 100644 --- a/arch/xtensa/platforms/s6105/device.c +++ b/arch/xtensa/platforms/s6105/device.c @@ -168,6 +168,9 @@ static struct resource s6_i2c_resource[] = { #define S6I2C_ADDR_PCA9543 0x73 static struct i2c_board_info __initdata s6_i2c_devices[] = { + { + I2C_BOARD_INFO("24c02", S6I2C_ADDR_AT24HC02B), + }, }; static struct platform_device platform_devices[] = { -- 1.6.2.107.ge47ee -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |