ath9k: merge a channel change fix from linux-wireless
[openwrt.git] / package / uboot-lantiq / patches / 300-arcadyan.patch
1 --- a/common/Makefile
2 +++ b/common/Makefile
3 @@ -127,7 +127,9 @@
4 ifdef CONFIG_PCI
5 COBJS-$(CONFIG_CMD_PCI) += cmd_pci.o
6 endif
7 +ifdef CONFIG_CMD_PCMCIA
8 COBJS-y += cmd_pcmcia.o
9 +endif
10 COBJS-$(CONFIG_CMD_PORTIO) += cmd_portio.o
11 COBJS-$(CONFIG_CMD_REGINFO) += cmd_reginfo.o
12 COBJS-$(CONFIG_CMD_REISER) += cmd_reiser.o
13 --- a/drivers/pcmcia/Makefile
14 +++ b/drivers/pcmcia/Makefile
15 @@ -28,9 +28,11 @@
16 COBJS-$(CONFIG_I82365) += i82365.o
17 COBJS-$(CONFIG_8xx) += mpc8xx_pcmcia.o
18 COBJS-$(CONFIG_PXA_PCMCIA) += pxa_pcmcia.o
19 -COBJS-y += rpx_pcmcia.o
20 +#COBJS-y += rpx_pcmcia.o
21 +COBJS-$(CONFIG_RPX_PCMCIA) += rpx_pcmcia.o
22 COBJS-$(CONFIG_IDE_TI_CARDBUS) += ti_pci1410a.o
23 -COBJS-y += tqm8xx_pcmcia.o
24 +#COBJS-y += tqm8xx_pcmcia.o
25 +COBJS-$(CONFIG_TQM8XX_PCMCIA) += tqm8xx_pcmcia.o
26 COBJS-$(CONFIG_MARUBUN_PCCARD) += marubun_pcmcia.o
27
28 COBJS := $(COBJS-y)
29 --- a/drivers/usb/phy/Makefile
30 +++ b/drivers/usb/phy/Makefile
31 @@ -23,7 +23,7 @@
32 LIB := $(obj)libusb_phy.a
33
34 COBJS-$(CONFIG_TWL4030_USB) += twl4030.o
35 -COBJS-y := twl4030.o
36 +#COBJS-y := twl4030.o
37
38 COBJS := $(COBJS-y)
39 SRCS := $(COBJS:.o=.c)
40 --- a/Makefile
41 +++ b/Makefile
42 @@ -3414,6 +3414,41 @@
43 ## MIPS32 ifxcpe
44 #########################################################################
45
46 +define arcadyan
47 +$(1) : unconfig
48 + @mkdir -p $(obj)include
49 + @mkdir -p $(obj)board/arcadyan/
50 + @[ -z "$$(findstring brnboot,$$@)" ] || \
51 + { echo "TEXT_BASE = 0x80002000" >$(obj)board/arcadyan/config.tmp ; \
52 + echo "#define CONFIG_SYS_RAMBOOT" >>$(obj)include/config.h ; \
53 + echo "#define CONFIG_SYS_BRNBOOT" >>$(obj)include/config.h ; \
54 + $(XECHO) "... with brnboot configuration" ; \
55 + }
56 + @[ -z "$$(findstring ramboot,$$@)" ] || \
57 + { echo "TEXT_BASE = 0xA0400000" >$(obj)board/arcadyan/config.tmp ; \
58 + echo "#define CONFIG_SYS_RAMBOOT" >>$(obj)include/config.h ; \
59 + $(XECHO) "... with ramboot configuration" ; \
60 + }
61 + @if [ "$$(findstring flash,$$@)" ] ; then \
62 + echo "#TEXT_BASE = 0xB0050000" >$(obj)board/arcadyan/config.tmp ; \
63 + echo "#define CONFIG_BOOTSTRAP" >>$(obj)include/config.h ; \
64 + echo "#define CONFIG_USE_DDR_RAM" >>$(obj)include/config.h ; \
65 + echo "#define CONFIG_USE_DDR_RAM_CFG_psc166" >>$(obj)include/config.h ; \
66 + fi
67 + @$(MKCONFIG) -a $$(word 1,$$(subst _, ,$$@)) mips mips arcadyan "" danube
68 +endef
69 +
70 +$(eval $(call arcadyan, arv3527P%config))
71 +$(eval $(call arcadyan, arv4520PW%config))
72 +$(eval $(call arcadyan, arv452CPW%config))
73 +$(eval $(call arcadyan, arv4525PW%config))
74 +$(eval $(call arcadyan, arv4510PW%config))
75 +$(eval $(call arcadyan, arv4518PW%config))
76 +$(eval $(call arcadyan, arv7518PW%config))
77 +$(eval $(call arcadyan, arv7525PW%config))
78 +$(eval $(call arcadyan, arv752DPW%config))
79 +$(eval $(call arcadyan, arv752DPW22%config))
80 +
81 easy50712%config : unconfig
82 @mkdir -p $(obj)include
83 @mkdir -p $(obj)board/infineon/easy50712
84 --- a/net/tftp.c
85 +++ b/net/tftp.c
86 @@ -11,9 +11,9 @@
87 #include "bootp.h"
88
89 #define WELL_KNOWN_PORT 69 /* Well known TFTP port # */
90 -#define TIMEOUT 5000UL /* Millisecs to timeout for lost pkt */
91 +#define TIMEOUT 10000UL /* Millisecs to timeout for lost pkt */
92 #ifndef CONFIG_NET_RETRY_COUNT
93 -# define TIMEOUT_COUNT 10 /* # of timeouts before giving up */
94 +# define TIMEOUT_COUNT 200 /* # of timeouts before giving up */
95 #else
96 # define TIMEOUT_COUNT (CONFIG_NET_RETRY_COUNT * 2)
97 #endif
This page took 0.051049 seconds and 5 git commands to generate.