mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
880cc4381e
commit
5604e2178c
2 changed files with 24 additions and 62 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue