resend #5: [PATCH 2/5]: add AcTux-1 board support
Signed-off-by Michael Schwingen <[email protected]>
board/actux1/Makefile new file +50 -0
@@ -0,0 +1,50 @@ +# +# (C) Copyright 2000-2006 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).a + +COBJS := actux1.o + +SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) +SOBJS := $(addprefix $(obj),$(SOBJS)) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +clean: + rm -f $(SOBJS) $(OBJS) + +distclean: clean + rm -f $(LIB) core *.bak .depend + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
board/actux1/actux1.c new file +161 -0
161 lines not on this page · raw message
board/actux1/actux1_hw.h new file +57 -0
57 lines not on this page · raw message
board/actux1/config.mk new file +4 -0
@@ -0,0 +1,4 @@ +TEXT_BASE = 0x00e00000 + +# include NPE ethernet driver +BOARDLIBS = cpu/ixp/npe/libnpe.a
board/actux1/u-boot.lds new file +69 -0
69 lines not on this page · raw message
include/configs/actux1.h new file +247 -0
247 lines not on this page · raw message
Quoted 8 lines · Michael Schwingen
Signed-off-by Michael Schwingen <[email protected]>board/actux1/Makefile new file +2
-0+ +#if (CONFIG_COMMANDS & CFG_CMD_PCI) || defined(CONFIG_PCI)
board/actux1/Makefile
Quoted 10 lines
board/actux1/Makefile new file +10
-0+extern struct pci_controller hose; +extern void pci_ixp_init (struct pci_controller *hose); + +void pci_init_board (void) +{ + extern void pci_ixp_init (struct pci_controller *hose); + pci_ixp_init (&hose); +} +#endif +
Ack but when applying I will do this change
-#if (CONFIG_COMMANDS & CFG_CMD_PCI) || defined(CONFIG_PCI) +#if defined(CONFIG_CMD_PCI) || defined(CONFIG_PCI)
or just resend this patch
Best regards,
J.
Review
Quoted 5 lines · Jean-Christophe PLAGNIOL-VILLARD
Ack but when applying I will do this change
(quoted diff) +1
-1-#if (CONFIG_COMMANDS & CFG_CMD_PCI) || defined(CONFIG_PCI) +#if defined(CONFIG_CMD_PCI) || defined(CONFIG_PCI)
It is OK for me if you do the change.
cu
Michael