Allow targets to specify extra initramfs source files
[openwrt.git] / target / linux / ixp4xx / patches / 750-avila_mtd_microcode.patch
1 diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/avila-setup.c linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/avila-setup.c
2 --- linux-2.6.19.2/arch/arm/mach-ixp4xx/avila-setup.c 2007-05-10 12:30:54.000000000 +0200
3 +++ linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/avila-setup.c 2007-05-10 12:33:08.000000000 +0200
4 @@ -155,13 +155,23 @@
5 .resource = &res_mac1,
6 };
7
8 +struct npe_ucode_platform_data avila_npe_ucode_data = {
9 + .mtd_partition = "RedBoot",
10 +};
11 +
12 +static struct platform_device avila_npe_ucode = {
13 + .name = "ixp4xx_npe_ucode",
14 + .id = 0,
15 + .dev.platform_data = &avila_npe_ucode_data,
16 +};
17 +
18 static struct platform_device *avila_devices[] __initdata = {
19 &avila_i2c_controller,
20 &avila_flash,
21 &avila_uart,
22 &mac0,
23 &mac1,
24 -
25 + &avila_npe_ucode,
26 };
27
28 #ifdef CONFIG_SENSORS_EEPROM
This page took 0.041056 seconds and 5 git commands to generate.