From f7bbf53880298080015cc9f9b9e7a1405fe83c49 Mon Sep 17 00:00:00 2001 From: kaloz Date: Sat, 26 May 2007 15:36:22 +0000 Subject: fix magicbox, convert mtd mapping to platform_device, add support for combined flash layout git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7336 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/magicbox-2.6/config/default | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'target/linux/magicbox-2.6/config') diff --git a/target/linux/magicbox-2.6/config/default b/target/linux/magicbox-2.6/config/default index dc33f83c05..cc53f5e56d 100644 --- a/target/linux/magicbox-2.6/config/default +++ b/target/linux/magicbox-2.6/config/default @@ -28,7 +28,7 @@ CONFIG_BLK_DEV_MAGICBOX_IDE=y CONFIG_BOOT_LOAD=0x00400000 # CONFIG_BT is not set # CONFIG_BUBINGA is not set -CONFIG_CMDLINE="console=ttyS0,115200 init=/etc/preinit" +CONFIG_CMDLINE="root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200 init=/etc/preinit" CONFIG_CMDLINE_BOOL=y CONFIG_CONSISTENT_SIZE=0x00200000 CONFIG_CONSISTENT_START=0xff100000 @@ -103,7 +103,6 @@ CONFIG_MTD_COMPLEX_MAPPINGS=y # CONFIG_MTD_DOC2001PLUS is not set CONFIG_MTD_GEN_PROBE=y # CONFIG_MTD_JEDECPROBE is not set -CONFIG_MTD_MAGICMAP=y CONFIG_MTD_MAP_BANK_WIDTH_1=y # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set CONFIG_MTD_MAP_BANK_WIDTH_2=y @@ -117,13 +116,17 @@ CONFIG_MTD_MAP_BANK_WIDTH_4=y CONFIG_MTD_PARTITIONS=y # CONFIG_MTD_PCI is not set # CONFIG_MTD_PHRAM is not set -# CONFIG_MTD_PHYSMAP is not set +CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_PHYSMAP_BANKWIDTH=2 +CONFIG_MTD_PHYSMAP_LEN=0 +CONFIG_MTD_PHYSMAP_START=0xffc00000 # CONFIG_MTD_PLATRAM is not set # CONFIG_MTD_PMC551 is not set # CONFIG_MTD_RAM is not set # CONFIG_MTD_REDBOOT_PARTS is not set # CONFIG_MTD_ROM is not set # CONFIG_MTD_SLRAM is not set +CONFIG_MTD_SPLIT_ROOTFS=y # CONFIG_NATSEMI is not set # CONFIG_NE2K_PCI is not set # CONFIG_NET_VENDOR_3COM is not set -- cgit v1.2.3