Clean up dataflash partitioning
This patch removes the board dependent parts from
"drivers/mtd/dataflash.c".
Each board relying on this, will have the appropriate
code in a new file, "partition.c" in the board directory.
board Makefiles updated to use the file.
The dataflash partitions are aligned on sector/page boundaries.
The CONFIG_NEW_DF_PARTITION was used to create named partitions
This is now the default operation, and the CONFIG variable is removed.
Signed-off-by:
Ulf Samuelsson <ulf@atmel.com>
Showing
- board/atmel/at91cap9adk/Makefile 1 addition, 0 deletionsboard/atmel/at91cap9adk/Makefile
- board/atmel/at91cap9adk/partition.c 37 additions, 0 deletionsboard/atmel/at91cap9adk/partition.c
- board/atmel/at91rm9200dk/Makefile 1 addition, 1 deletionboard/atmel/at91rm9200dk/Makefile
- board/atmel/at91rm9200dk/partition.c 38 additions, 0 deletionsboard/atmel/at91rm9200dk/partition.c
- board/atmel/at91sam9260ek/Makefile 1 addition, 0 deletionsboard/atmel/at91sam9260ek/Makefile
- board/atmel/at91sam9260ek/partition.c 38 additions, 0 deletionsboard/atmel/at91sam9260ek/partition.c
- drivers/mtd/dataflash.c 3 additions, 42 deletionsdrivers/mtd/dataflash.c
- include/dataflash.h 8 additions, 5 deletionsinclude/dataflash.h
Loading
Please register or sign in to comment