--- ti-davinci.org/drivers/mtd/nand/nand_davinci.c	2006-10-02 13:31:15.000000000 +0800
+++ ti-davinci/drivers/mtd/nand/nand_davinci.c	2006-11-28 12:21:21.351346568 +0800
@@ -139,12 +139,24 @@
  * Define partitions for flash device
  */
 static struct mtd_partition partition_info[] = {
+#ifdef CONFIG_MTD_NAND
+        { name: "Initial Flash Partition 0",
+          offset: 0,
+          size: (1024+16) * 1024 /* 1MB+ 1 block size */},
+        { name: "Kernel Partition 1",
+          offset: MTDPART_OFS_NXTBLK,
+          size: 4 * 1024 * 1024 /* 4MB */},
+        { name: "File System Partition 2",
+          offset: MTDPART_OFS_NXTBLK,
+          size: MTDPART_SIZ_FULL},
+#else
 	{ name: "Flash Partition 0",
 	  offset: MTDPART_OFS_APPEND,
 	  size:   MTDPART_SIZ_FULL},
+#endif
 };
 
-#define NUM_PARTITIONS           1
+#define NUM_PARTITIONS           3
 
 #define	MASK_CLE	0x10
 #define	MASK_ALE	0x0A
