[U-Boot-Users] [PATCH] Clean up dataflash partitioning

Ulf Samuelsson ulf at atmel.com
Sat Apr 12 20:29:44 CEST 2008


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 at atmel.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: partition.patch
Type: text/x-patch
Size: 10168 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080412/03f41d42/attachment.bin 


More information about the U-Boot mailing list