From: Felix Fietkau Date: Fri, 7 Mar 2008 14:15:41 +0000 (+0000) Subject: disable partitions for unallocated redboot flash memory - it caused a null pointer... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1d951e0847648be97d977527cc4eea697807a891;p=librecmc%2Flibrecmc.git disable partitions for unallocated redboot flash memory - it caused a null pointer deref SVN-Revision: 10563 --- diff --git a/target/linux/generic-2.6/config-2.6.22 b/target/linux/generic-2.6/config-2.6.22 index c32a244390..f18508eb1a 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 734842144e..ca4f7b76e3 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 da4eae3bc3..b42ef617f1 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 f34335a404..aadbe77a60 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 5b76e9c54d..1943e6e149 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