Root/package/uboot-xburst/patches/009-add-n516.patch

1diff --git a/Makefile b/Makefile
2index 4ebdb74..5efac12 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -2315,6 +2315,18 @@ qi_lb60_config : unconfig
6     @echo "TEXT_BASE = 0x80100000" > $(obj)board/xburst/nanonote/config.tmp
7     @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
8 
9+n516_config : unconfig
10+ @ >include/config.h
11+ @echo "#define CONFIG_N516 1" >>include/config.h
12+ @$(MKCONFIG) -a n516 mips xburst n516 xburst
13+
14+n516_nand_config: unconfig
15+ @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
16+ @echo "Compile NAND boot image for n516"
17+ @$(MKCONFIG) -a n516 mips xburst n516 xburst
18+ @echo "TEXT_BASE = 0x80100000" > $(obj)board/xburst/n516/config.tmp
19+ @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
20+
21 #========================================================================
22 # Nios
23 #========================================================================
24

Archive Download this file



interactive