summaryrefslogtreecommitdiff
path: root/cpu/ixp/npe/Makefile
diff options
context:
space:
mode:
authorMichael Schwingen <michael@schwingen.org>2007-11-10 15:44:12 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-01-18 00:59:38 +0100
commit63ebcc4615dd39926ccf61f1d5f3510262ef6564 (patch)
tree0cea700d4724a00749e878a922ff1ff8893b775f /cpu/ixp/npe/Makefile
parentf188896c2f1594fe749fdb99bbc8c54023cfab3a (diff)
downloadu-boot-imx-63ebcc4615dd39926ccf61f1d5f3510262ef6564.zip
u-boot-imx-63ebcc4615dd39926ccf61f1d5f3510262ef6564.tar.gz
u-boot-imx-63ebcc4615dd39926ccf61f1d5f3510262ef6564.tar.bz2
load ixp42x NPE firmware from separate flash block, remove dead code
Hi, the following patch adds support to move the IXP42X NPE firmware to a separate flash block, whose start address is defined in CONFIG_IXP4XX_NPE_EXT_UCODE_BASE. Using that, it is possible to build NPE-enabled u-boot without copyright problems due to the NPE firmware. I hope the patch applies, I get whitespace-related differences in the NPE files due to trailing whitespace in the original versions. Signed-off-by: Michael Schwingen <michael@schwingen.org> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/ixp/npe/Makefile')
-rw-r--r--cpu/ixp/npe/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/ixp/npe/Makefile b/cpu/ixp/npe/Makefile
index 7f020b5..25117d7 100644
--- a/cpu/ixp/npe/Makefile
+++ b/cpu/ixp/npe/Makefile
@@ -72,7 +72,6 @@ COBJS := npe.o \
IxNpeDlImageMgr.o \
IxNpeDlNpeMgr.o \
IxNpeDlNpeMgrUtils.o \
- IxNpeMicrocode.o \
IxNpeMh.o \
IxNpeMhConfig.o \
IxNpeMhReceive.o \
@@ -80,6 +79,9 @@ COBJS := npe.o \
IxNpeMhSolicitedCbMgr.o \
IxNpeMhUnsolicitedCbMgr.o
+ifndef CONFIG_IXP4XX_NPE_EXT_UCODE_BASE
+COBJS += IxNpeMicrocode.o
+endif
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))