From c3a60cb3bd67e120fc99b6ba88d9295c3c07f688 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sat, 12 Apr 2008 20:29:44 +0200 Subject: 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 --- board/atmel/at91cap9adk/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'board/atmel/at91cap9adk/Makefile') diff --git a/board/atmel/at91cap9adk/Makefile b/board/atmel/at91cap9adk/Makefile index 3961030..6b4b4b0 100644 --- a/board/atmel/at91cap9adk/Makefile +++ b/board/atmel/at91cap9adk/Makefile @@ -27,6 +27,7 @@ LIB = $(obj)lib$(BOARD).a COBJS-y += at91cap9adk.o COBJS-y += led.o +COBJS-y += partition.o COBJS-$(CONFIG_CMD_NAND) += nand.o SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) -- cgit v1.1