diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-12-17 18:20:56 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-12-17 18:20:56 +0100 |
commit | 5a9c64d523313277b48fe5384f388834c99c45bf (patch) | |
tree | 5a061debbbe51d629d6c2f8d1a283167342d1d5a /board | |
parent | 2dcfb887d7c0294a376c838c7de569f89228b9e7 (diff) | |
download | barebox-5a9c64d523313277b48fe5384f388834c99c45bf.tar.gz barebox-5a9c64d523313277b48fe5384f388834c99c45bf.tar.xz |
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/pcm037/pcm037.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/pcm037/pcm037.c b/board/pcm037/pcm037.c index d66949582e..0a1a3da155 100644 --- a/board/pcm037/pcm037.c +++ b/board/pcm037/pcm037.c @@ -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 */ }; /* |