[PATCH] alix2: correct h/w configuration
[openwrt.git] / package / uboot-xburst / patches / 010-sakc.patch
1 diff --git a/Makefile b/Makefile
2 index a318eb4..7d14b8b 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -3448,6 +3448,13 @@ qi_lb60_config : unconfig
6 @echo "TEXT_BASE = 0x80100000" > $(obj)board/n516/config.tmp
7 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
8
9 +sakc_config : unconfig
10 + @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
11 + @echo "Compile NAND boot image for SAKC"
12 + @$(MKCONFIG) -a sakc mips mips sakc
13 + @echo "TEXT_BASE = 0x80100000" > $(obj)board/sakc/config.tmp
14 + @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
15 +
16 #########################################################################
17 ## MIPS64 5Kc
18 #########################################################################
19 diff --git a/cpu/mips/Makefile b/cpu/mips/Makefile
20 index 33afb66..a177653 100644
21 --- a/cpu/mips/Makefile
22 +++ b/cpu/mips/Makefile
23 @@ -35,7 +35,7 @@ COBJS-$(CONFIG_PURPLE) += asc_serial.o
24 COBJS-$(CONFIG_JZSOC) += jz_serial.o jz_i2c.o jz_mmc.o
25 COBJS-$(CONFIG_JZ4740) += jz4740.o jz4740_nand.o
26 COBJS-$(CONFIG_NANONOTE) += nanonote_gpm940b0.o
27 -
28 +COBJS-$(CONFIG_SAKC) += nanonote_gpm940b0.o
29
30 SRCS := $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
31 OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
32
This page took 0.03877 seconds and 5 git commands to generate.