9
0
Fork 0

pcm037: Limit CFI size to 32MB

According to the Phytec website the PCM037 has a maximum of 32MB
flash

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2008-12-17 18:20:56 +01:00
parent 2dcfb887d7
commit 5a9c64d523
1 changed files with 2 additions and 2 deletions

View File

@ -35,14 +35,14 @@
#include <asm/arch/imx-nand.h>
/*
* Up to 64MiB NOR type flash, connected to
* Up to 32MiB NOR type flash, connected to
* CS line 0, data width is 16 bit
*/
static struct device_d cfi_dev = {
.name = "cfi_flash",
.id = "nor0",
.map_base = IMX_CS0_BASE,
.size = IMX_CS0_RANGE, /* area size */
.size = 32 * 1024 * 1024, /* area size */
};
/*