ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN network setup...
[openwrt.git] / package / uboot-lantiq / patches / 500-gigasx.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -3613,6 +3613,32 @@
4 $(eval $(call arcadyan, arv752DPW%config))
5 $(eval $(call arcadyan, arv752DPW22%config))
6
7 +gigaSX76X%config : unconfig
8 + @mkdir -p $(obj)include
9 + @mkdir -p $(obj)board/infineon/easy50712
10 + @[ -z "$(findstring ramboot,$@)" ] || \
11 + { echo "TEXT_BASE = 0xA0400000" >$(obj)board/infineon/easy50712/config.tmp ; \
12 + echo "#define CONFIG_SYS_RAMBOOT" >>$(obj)include/config.h ; \
13 + $(XECHO) "... with ramboot configuration" ; \
14 + }
15 + @if [ "$(findstring _DDR,$@)" -a -z "$(findstring ramboot,$@)" ] ; then \
16 + echo "#define CONFIG_USE_DDR_RAM" >>$(obj)include/config.h ; \
17 + echo "#define CONFIG_BOOTSTRAP" >>$(obj)include/config.h ; \
18 + DDR=$(subst DDR,,$(filter DDR%,$(subst _, ,$@))); \
19 + case "$${DDR}" in \
20 + 111M|166M|e111M|e166M|promos400|samsung166|psc166) \
21 + $(XECHO) "... with DDR RAM config $${DDR}" ; \
22 + echo "#define CONFIG_USE_DDR_RAM_CFG_$${DDR}" >>$(obj)include/config.h ;; \
23 + *) $(XECHO) "... DDR RAM config \\\"$${DDR}\\\" unknown, use default"; \
24 + esac; \
25 + fi
26 + echo "#define CONFIG_SWITCH_PORT1 1" >>$(obj)include/config.h
27 + echo "#define CONFIG_SWITCH_PIN 3" >>$(obj)include/config.h
28 + echo "#define CONFIG_BUTTON_PORT0 1" >>$(obj)include/config.h
29 + echo "#define CONFIG_BUTTON_PIN 14" >>$(obj)include/config.h
30 + echo "#define CONFIG_BUTTON_LEVEL 1" >>$(obj)include/config.h
31 + @$(MKCONFIG) -a easy50712 mips mips easy50712 infineon danube
32 +
33 easy50712%config : unconfig
34 @mkdir -p $(obj)include
35 @mkdir -p $(obj)board/infineon/easy50712
This page took 0.036568 seconds and 5 git commands to generate.