|
@@ -38,7 +38,6 @@
|
|
|
#include <linux/interrupt.h>
|
|
|
#include <linux/usb/musb.h>
|
|
|
#include <asm/bfin5xx_spi.h>
|
|
|
-#include <asm/cplb.h>
|
|
|
#include <asm/dma.h>
|
|
|
#include <asm/gpio.h>
|
|
|
#include <asm/nand.h>
|
|
@@ -329,12 +328,12 @@ static struct mtd_partition partition_info[] = {
|
|
|
{
|
|
|
.name = "linux kernel(nand)",
|
|
|
.offset = 0,
|
|
|
- .size = 4 * SIZE_1M,
|
|
|
+ .size = 4 * 1024 * 1024,
|
|
|
},
|
|
|
{
|
|
|
.name = "file system(nand)",
|
|
|
- .offset = 4 * SIZE_1M,
|
|
|
- .size = (256 - 4) * SIZE_1M,
|
|
|
+ .offset = 4 * 1024 * 1024,
|
|
|
+ .size = (256 - 4) * 1024 * 1024,
|
|
|
},
|
|
|
};
|
|
|
|