From 45e93e7181fa0d6f1ee62fa9a55f8472bda3ed40 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 7 Mar 2008 14:15:41 +0000 Subject: [PATCH] disable partitions for unallocated redboot flash memory - it caused a null pointer deref git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10563 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic-2.6/config-2.6.22 | 1 + target/linux/generic-2.6/config-2.6.23 | 1 + target/linux/generic-2.6/config-2.6.24 | 1 + target/linux/iop32x/config-default | 1 - target/linux/ixp4xx/config-default | 1 - 5 files changed, 3 insertions(+), 2 deletions(-) diff --git a/target/linux/generic-2.6/config-2.6.22 b/target/linux/generic-2.6/config-2.6.22 index c32a24439..f18508eb1 100644 --- a/target/linux/generic-2.6/config-2.6.22 +++ b/target/linux/generic-2.6/config-2.6.22 @@ -708,6 +708,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_MSDOS_FS=m CONFIG_MSDOS_PARTITION=y # CONFIG_MTD_NAND is not set +# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set CONFIG_MTD_ROOTFS_ROOT_DEV=y CONFIG_MTD_ROOTFS_SPLIT=y # CONFIG_MTD_UBI is not set diff --git a/target/linux/generic-2.6/config-2.6.23 b/target/linux/generic-2.6/config-2.6.23 index 734842144..ca4f7b76e 100644 --- a/target/linux/generic-2.6/config-2.6.23 +++ b/target/linux/generic-2.6/config-2.6.23 @@ -726,6 +726,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_MSDOS_FS=m CONFIG_MSDOS_PARTITION=y # CONFIG_MTD_NAND is not set +# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set CONFIG_MTD_ROOTFS_ROOT_DEV=y CONFIG_MTD_ROOTFS_SPLIT=y # CONFIG_MTD_UBI is not set diff --git a/target/linux/generic-2.6/config-2.6.24 b/target/linux/generic-2.6/config-2.6.24 index da4eae3bc..b42ef617f 100644 --- a/target/linux/generic-2.6/config-2.6.24 +++ b/target/linux/generic-2.6/config-2.6.24 @@ -739,6 +739,7 @@ CONFIG_MSDOS_PARTITION=y # CONFIG_MTD_INTEL_VR_NOR is not set # CONFIG_MTD_NAND is not set # CONFIG_MTD_OOPS is not set +# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set CONFIG_MTD_ROOTFS_ROOT_DEV=y CONFIG_MTD_ROOTFS_SPLIT=y # CONFIG_MTD_UBI is not set diff --git a/target/linux/iop32x/config-default b/target/linux/iop32x/config-default index f34335a40..aadbe77a6 100644 --- a/target/linux/iop32x/config-default +++ b/target/linux/iop32x/config-default @@ -238,7 +238,6 @@ CONFIG_MTD_PARTITIONS=y CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 CONFIG_MTD_REDBOOT_PARTS=y CONFIG_MTD_REDBOOT_PARTS_READONLY=y -CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y # CONFIG_MTD_ROM is not set # CONFIG_MTD_SLRAM is not set # CONFIG_NATSEMI is not set diff --git a/target/linux/ixp4xx/config-default b/target/linux/ixp4xx/config-default index 5b76e9c54..1943e6e14 100644 --- a/target/linux/ixp4xx/config-default +++ b/target/linux/ixp4xx/config-default @@ -278,7 +278,6 @@ CONFIG_MTD_PARTITIONS=y CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 CONFIG_MTD_REDBOOT_PARTS=y CONFIG_MTD_REDBOOT_PARTS_READONLY=y -CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y # CONFIG_MTD_ROM is not set # CONFIG_MTD_SLRAM is not set # CONFIG_NATSEMI is not set -- 2.20.1