diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-22 16:23:41 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-03-23 15:14:52 -0400 |
commit | bc683f58b1f1d8d20546fe019483967a51a49df1 (patch) | |
tree | 2121bf31c053d3cfbd249c780d7838f19830d17a | |
parent | 8996d1608acb8f59fcb186dc7ed7d87f8fee1297 (diff) | |
download | u-boot-imx-bc683f58b1f1d8d20546fe019483967a51a49df1.zip u-boot-imx-bc683f58b1f1d8d20546fe019483967a51a49df1.tar.gz u-boot-imx-bc683f58b1f1d8d20546fe019483967a51a49df1.tar.bz2 |
Blackfin: bf537-stamp: move CONFIG_POST handling to COBJS-$(...)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | board/bf537-stamp/Makefile | 3 | ||||
-rw-r--r-- | board/bf537-stamp/post-memory.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/board/bf537-stamp/Makefile b/board/bf537-stamp/Makefile index cb38b96..199093b 100644 --- a/board/bf537-stamp/Makefile +++ b/board/bf537-stamp/Makefile @@ -29,9 +29,10 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).a -COBJS-y := $(BOARD).o post-memory.o cmd_bf537led.o +COBJS-y := $(BOARD).o cmd_bf537led.o COBJS-$(CONFIG_CMD_EEPROM) += spi_flash.o COBJS-$(CONFIG_CMD_NAND) += nand.o +COBJS-$(CONFIG_POST) += post-memory.o SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) OBJS := $(addprefix $(obj),$(COBJS-y)) diff --git a/board/bf537-stamp/post-memory.c b/board/bf537-stamp/post-memory.c index 9626f4c..4daea62 100644 --- a/board/bf537-stamp/post-memory.c +++ b/board/bf537-stamp/post-memory.c @@ -1,8 +1,6 @@ #include <common.h> #include <asm/io.h> -#ifdef CONFIG_POST - #include <post.h> #include <watchdog.h> @@ -318,4 +316,3 @@ int post_init_sdram(int sclk) } #endif /* CONFIG_POST & CONFIG_SYS_POST_MEMORY */ -#endif /* CONFIG_POST */ |