diff options
author | Stelian Pop <stelian@popies.net> | 2008-03-26 21:52:36 +0100 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-04-01 01:43:59 +0200 |
commit | 5604e2178c5218fbfdba2e4293ca7652e829ac25 (patch) | |
tree | 7b3d3b7027e347591c96e35b3316fbd73177215e /include/dataflash.h | |
parent | 880cc4381ea8360248cddcdf87a64566745a5724 (diff) | |
download | u-boot-5604e2178c5218fbfdba2e4293ca7652e829ac25.tar.gz u-boot-5604e2178c5218fbfdba2e4293ca7652e829ac25.tar.xz u-boot-5604e2178c5218fbfdba2e4293ca7652e829ac25.zip |
Cleanup DataFlash partition handling
DataFlash partition information has become a mess. This patch
defines a single partition scheme for Atmel DataFlashes. This partition
scheme will be used by all AT91CAP9 and AT91SAM9 boards.
Signed-off-by: Stelian Pop <stelian@popies.net>
Diffstat (limited to 'include/dataflash.h')
-rw-r--r-- | include/dataflash.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/dataflash.h b/include/dataflash.h index fbd5e17f44..68f0324158 100644 --- a/include/dataflash.h +++ b/include/dataflash.h @@ -38,11 +38,7 @@ #include "config.h" /*number of protected area*/ -#ifdef CONFIG_NEW_PARTITION -# define NB_DATAFLASH_AREA 6 -#else -# define NB_DATAFLASH_AREA 4 -#endif +#define NB_DATAFLASH_AREA 5 #ifdef CFG_NO_FLASH |