add magicbox 2.0 cf slot support - kmod-ide must not be used on magicbox 1.1 (no...
[openwrt.git] / target / linux / rb1xx-2.6 / patches / 100-mtd-myloder-partition-parser.patch
1 diff -Nur linux-2.6.19.2/drivers/mtd/Kconfig.old linux-2.6.19.2/drivers/mtd/Kconfig
2 --- linux-2.6.19.2/drivers/mtd/Kconfig.old 2007-03-25 08:13:02.000000000 +0200
3 +++ linux-2.6.19.2/drivers/mtd/Kconfig 2007-03-26 13:37:47.000000000 +0200
4 @@ -157,6 +157,22 @@
5 for your particular device. It won't happen automatically. The
6 'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example.
7
8 +config MTD_MYLOADER_PARTS
9 + tristate "MyLoader partition parsing"
10 + depends on MIPS_ADM5120 && MTD_PARTITIONS
11 + ---help---
12 + MyLoader is a bootloader which allows the user to define partitions
13 + in flash devices, by putting a table in the second erase block
14 + on the device, similar to a partition table. This table gives the
15 + offsets and lengths of the user defined partitions.
16 +
17 + If you need code which can detect and parse these tables, and
18 + register MTD 'partitions' corresponding to each image detected,
19 + enable this option.
20 +
21 + You will still need the parsing functions to be called by the driver
22 + for your particular device. It won't happen automatically.
23 +
24 comment "User Modules And Translation Layers"
25 depends on MTD
26
27 diff -Nur linux-2.6.19.2/drivers/mtd/Makefile.old linux-2.6.19.2/drivers/mtd/Makefile
28 --- linux-2.6.19.2/drivers/mtd/Makefile.old 2007-01-10 20:10:37.000000000 +0100
29 +++ linux-2.6.19.2/drivers/mtd/Makefile 2007-03-26 13:28:23.000000000 +0200
30 @@ -12,6 +12,7 @@
31 obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
32 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
33 obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
34 +obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
35
36 # 'Users' - code which presents functionality to userspace.
37 obj-$(CONFIG_MTD_CHAR) += mtdchar.o
This page took 0.045715 seconds and 5 git commands to generate.