]> git.sur5r.net Git - u-boot/commit
Clean up dataflash partitioning
authorUlf Samuelsson <ulf@atmel.com>
Sat, 12 Apr 2008 18:29:44 +0000 (20:29 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 18 Apr 2008 07:24:05 +0000 (00:24 -0700)
commitc3a60cb3bd67e120fc99b6ba88d9295c3c07f688
tree5228c3ad76c8453b0a28fc81752b252c2e01e7e4
parent51ecde946fec511a16346e498204ca10ad71080d
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>
board/atmel/at91cap9adk/Makefile
board/atmel/at91cap9adk/partition.c [new file with mode: 0644]
board/atmel/at91rm9200dk/Makefile
board/atmel/at91rm9200dk/partition.c [new file with mode: 0644]
board/atmel/at91sam9260ek/Makefile
board/atmel/at91sam9260ek/partition.c [new file with mode: 0644]
drivers/mtd/dataflash.c
include/dataflash.h