diff options
author | Tom Rini <trini@ti.com> | 2013-07-25 08:22:08 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-07-25 08:51:51 -0400 |
commit | aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c (patch) | |
tree | 64eaea4d396dce4e0a30bb955b8240d4b199cdca /board/AndesTech/adp-ag102 | |
parent | 0b17998e509e5614633aee0a3c5d6248f8bc580b (diff) | |
parent | c54fd3efa497876a33cc3c6e7df514ae53abc729 (diff) | |
download | u-boot-imx-aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c.zip u-boot-imx-aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c.tar.gz u-boot-imx-aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-nds32
Diffstat (limited to 'board/AndesTech/adp-ag102')
-rw-r--r-- | board/AndesTech/adp-ag102/Makefile | 4 | ||||
-rw-r--r-- | board/AndesTech/adp-ag102/adp-ag102.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/board/AndesTech/adp-ag102/Makefile b/board/AndesTech/adp-ag102/Makefile index ef53341..ec67dd0 100644 --- a/board/AndesTech/adp-ag102/Makefile +++ b/board/AndesTech/adp-ag102/Makefile @@ -11,8 +11,8 @@ LIB = $(obj)lib$(BOARD).o COBJS := adp-ag102.o -SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) +SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y)) $(LIB): $(OBJS) $(call cmd_link_o_target, $(OBJS)) diff --git a/board/AndesTech/adp-ag102/adp-ag102.c b/board/AndesTech/adp-ag102/adp-ag102.c index 6f0d0ee..3f879ab 100644 --- a/board/AndesTech/adp-ag102/adp-ag102.c +++ b/board/AndesTech/adp-ag102/adp-ag102.c @@ -10,6 +10,7 @@ #include <netdev.h> #include <asm/io.h> +#include <faraday/ftpci100.h> #include <faraday/ftsdc010.h> #ifdef CONFIG_FTSMC020 #include <faraday/ftsmc020.h> @@ -77,8 +78,6 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) void pci_init_board(void) { /* should be pci_ftpci100_init() */ - extern void pci_ftpci_init(); - pci_ftpci_init(); } #endif |