[kernel] add a chip_fixup function to the plat_nand driver on 2.6.23 as well (closes...
[openwrt.git] / target / linux / ixp4xx / patches / 750-avila_mtd_microcode.patch
1 Index: linux-2.6.21.7/arch/arm/mach-ixp4xx/avila-setup.c
2 ===================================================================
3 --- linux-2.6.21.7.orig/arch/arm/mach-ixp4xx/avila-setup.c
4 +++ linux-2.6.21.7/arch/arm/mach-ixp4xx/avila-setup.c
5 @@ -183,13 +183,23 @@ static struct platform_device mac1 = {
6 .resource = &res_mac1,
7 };
8
9 +struct npe_ucode_platform_data avila_npe_ucode_data = {
10 + .mtd_partition = "RedBoot",
11 +};
12 +
13 +static struct platform_device avila_npe_ucode = {
14 + .name = "ixp4xx_npe_ucode",
15 + .id = 0,
16 + .dev.platform_data = &avila_npe_ucode_data,
17 +};
18 +
19 static struct platform_device *avila_devices[] __initdata = {
20 &avila_i2c_controller,
21 &avila_flash,
22 &avila_uart,
23 &mac0,
24 &mac1,
25 -
26 + &avila_npe_ucode,
27 };
28
29 #ifdef CONFIG_SENSORS_EEPROM
This page took 0.04104 seconds and 5 git commands to generate.