u-boot-2009.03: fix flash layout for hipox machine
authorSteffen Sledz <sledz@dresearch.de>
Fri, 20 Nov 2009 08:00:56 +0000 (09:00 +0100)
committerSteffen Sledz <sledz@dresearch.de>
Mon, 23 Nov 2009 07:26:22 +0000 (08:26 +0100)
Signed-off-by: Steffen Sledz <sledz@dresearch.de>
recipes/u-boot/u-boot-2009.03/hipox/00-hipox.patch

index 1433e90..d14cb52 100644 (file)
@@ -6675,12 +6675,12 @@ diff -Nurd u-boot-2009.03.orig/include/configs/hipox.h u-boot-2009.03/include/co
 +#define MTDIDS_DEFAULT "nand0=MT29FXX"
 +#define MTDPARTS_DEFAULT   "mtdparts=MT29FXX:"  \
 +                  "32m(boot),"  \
-+                  "224m(system)"
++                  "480m(system)"
 +
-+#define NUM_FLASH_MAIN_BLOCKS   63          /* For Intel 28F320B3T */
-+#define NUM_FLASH_PARAM_BLOCKS  8           /* For Intel 28F320B3T */
-+#define FLASH_MAIN_BLOCK_SIZE   (64*1024)   /* For Intel 28F320B3T family */
-+#define FLASH_PARAM_BLOCK_SIZE  (8*1024)    /* For Intel 28F320B3T family */
++#define NUM_FLASH_MAIN_BLOCKS   31          /* For Atmel AT49BV163D */
++#define NUM_FLASH_PARAM_BLOCKS  8           /* For Atmel AT49BV163D */
++#define FLASH_MAIN_BLOCK_SIZE   (64*1024)
++#define FLASH_PARAM_BLOCK_SIZE  (8*1024)
 +
 +/* Assuming counts main blocks and parameter blocks, as the Intel/AMD detection */
 +/* I'm intending to copy would seem to indicate */