How to combine two MTD into a single MTD device?

mjabe_at_mail.com
Date: 11/09/04


Date: 9 Nov 2004 00:49:54 -0800

The follow is my flash partition:
 +-------------+
 | MTD1 | (size 3M)
 +-------------+
 | Bootloader | (size 128K)
 +-------------+
 | MTD2 | (size 3M)
 +-------------+
 | MTD3 |
 +-------------+
 How to combine MTD1 and MTD2 into a single MTD?
 So if I have a 5M size kernel image, then I
 do "dd if=kernel_image of=/dev/mtdblockX" command,
 the MTD driver will copy 3M size into MTD1
 and copy 2M size into MTD2.
 Thanks in advance.