Revert "package/mac80211: fix atomic64 compat"
[openwrt.git] / package / uboot-lantiq / patches / 100-ifx_targets.patch
1 --- a/MAKEALL
2 +++ b/MAKEALL
3 @@ -730,6 +730,12 @@
4 ## MIPS Systems (default = big endian)
5 #########################################################################
6
7 +LIST_ifxcpe=" \
8 + easy50712 \
9 + easy50712_DDR166M \
10 + easy50712_DDR166M_ramboot \
11 +"
12 +
13 LIST_mips4kc=" \
14 incaip \
15 qemu_mips \
16 @@ -761,6 +767,7 @@
17 "
18
19 LIST_mips=" \
20 + ${LIST_ifxcpe} \
21 ${LIST_mips4kc} \
22 ${LIST_mips5kc} \
23 ${LIST_au1xx0} \
24 --- a/Makefile
25 +++ b/Makefile
26 @@ -447,7 +447,7 @@
27 set -e ; \
28 : Extract the config macros ; \
29 $(CPP) $(CFLAGS) -DDO_DEPS_ONLY -dM include/common.h | \
30 - sed -n -f tools/scripts/define2mk.sed > $@.tmp && \
31 + sed -n -f tools/scripts/define2mk.sed |sort > $@.tmp && \
32 mv $@.tmp $@
33
34 #########################################################################
35 @@ -3370,7 +3370,7 @@
36 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
37 $(XECHO) "... with 150MHz system clock" ; \
38 }
39 - @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
40 + @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip infineon
41
42 tb0229_config: unconfig
43 @$(MKCONFIG) $(@:_config=) mips mips tb0229
44 @@ -3411,6 +3411,53 @@
45 @$(MKCONFIG) -a vct mips mips vct micronas
46
47 #########################################################################
48 +## MIPS32 ifxcpe
49 +#########################################################################
50 +
51 +easy50712%config : unconfig
52 + @mkdir -p $(obj)include
53 + @mkdir -p $(obj)board/infineon/easy50712
54 + @[ -z "$(findstring ramboot,$@)" ] || \
55 + { echo "TEXT_BASE = 0xA0400000" >$(obj)board/infineon/easy50712/config.tmp ; \
56 + echo "#define CONFIG_SYS_RAMBOOT" >>$(obj)include/config.h ; \
57 + $(XECHO) "... with ramboot configuration" ; \
58 + }
59 + @if [ "$(findstring _DDR,$@)" -a -z "$(findstring ramboot,$@)" ] ; then \
60 + echo "#define CONFIG_USE_DDR_RAM" >>$(obj)include/config.h ; \
61 + echo "#define CONFIG_BOOTSTRAP" >>$(obj)include/config.h ; \
62 + DDR=$(subst DDR,,$(filter DDR%,$(subst _, ,$@))); \
63 + case "$${DDR}" in \
64 + 111M|166M|e111M|e166M|promos400|samsung166|psc166) \
65 + $(XECHO) "... with DDR RAM config $${DDR}" ; \
66 + echo "#define CONFIG_USE_DDR_RAM_CFG_$${DDR}" >>$(obj)include/config.h ;; \
67 + *) $(XECHO) "... DDR RAM config \\\"$${DDR}\\\" unknown, use default"; \
68 + esac; \
69 + fi
70 + @$(MKCONFIG) -a $(word 1,$(subst _, ,$@)) mips mips easy50712 infineon danube
71 +
72 +easy50812%config : unconfig
73 + @mkdir -p $(obj)include
74 + @mkdir -p $(obj)board/infineon/easy50812
75 + @[ -z "$(findstring ramboot,$@)" ] || \
76 + { echo "TEXT_BASE = 0xA0400000" >$(obj)board/infineon/easy50812/config.tmp ; \
77 + echo "CONFIG_BOOTSTRAP = 0" >>$(obj)board/infineon/easy50812/config.tmp ; \
78 + echo "#define CONFIG_SYS_RAMBOOT" >>$(obj)include/config.h ; \
79 + $(XECHO) "... with ramboot configuration" ; \
80 + }
81 + @if [ "$(findstring _DDR,$@)" -a -z "$(findstring ramboot,$@)" ] ; then \
82 + echo "#define CONFIG_USE_DDR_RAM" >>$(obj)include/config.h ; \
83 + echo "#define CONFIG_BOOTSTRAP" >>$(obj)include/config.h ; \
84 + DDR=$(subst DDR,,$(filter DDR%,$(subst _, ,$@))); \
85 + case "$${DDR}" in \
86 + 111M|166M|e111M|e166M|promos400|samsung166|psc166) \
87 + $(XECHO) "... with DDR RAM config $${DDR}" ; \
88 + echo "#define CONFIG_USE_DDR_RAM_CFG_$${DDR}" >>$(obj)include/config.h ;; \
89 + *) $(XECHO) "... DDR RAM config \\\"$${DDR}\\\" unknown, use default"; \
90 + esac; \
91 + fi
92 + @$(MKCONFIG) -a $(word 1,$(subst _, ,$@)) mips mips easy50812 infineon ar9
93 +
94 +#########################################################################
95 ## MIPS32 AU1X00
96 #########################################################################
97
98 --- a/drivers/net/Makefile
99 +++ b/drivers/net/Makefile
100 @@ -43,6 +43,7 @@
101 COBJS-$(CONFIG_FSLDMAFEC) += fsl_mcdmafec.o mcfmii.o
102 COBJS-$(CONFIG_FTMAC100) += ftmac100.o
103 COBJS-$(CONFIG_GRETH) += greth.o
104 +COBJS-$(CONFIG_IFX_ETOP) += ifx_etop.o
105 COBJS-$(CONFIG_INCA_IP_SWITCH) += inca-ip_sw.o
106 COBJS-$(CONFIG_KIRKWOOD_EGIGA) += kirkwood_egiga.o
107 COBJS-$(CONFIG_DRIVER_KS8695ETH) += ks8695eth.o
108 --- a/drivers/serial/Makefile
109 +++ b/drivers/serial/Makefile
110 @@ -28,6 +28,7 @@
111 COBJS-$(CONFIG_ARM_DCC) += arm_dcc.o
112 COBJS-$(CONFIG_AT91RM9200_USART) += at91rm9200_usart.o
113 COBJS-$(CONFIG_ATMEL_USART) += atmel_usart.o
114 +COBJS-$(CONFIG_IFX_ASC) += ifx_asc.o
115 COBJS-$(CONFIG_MCFUART) += mcfuart.o
116 COBJS-$(CONFIG_NS9750_UART) += ns9750_serial.o
117 COBJS-$(CONFIG_SYS_NS16550) += ns16550.o
118 --- a/include/netdev.h
119 +++ b/include/netdev.h
120 @@ -57,6 +57,7 @@
121 int ftmac100_initialize(bd_t *bits);
122 int greth_initialize(bd_t *bis);
123 void gt6426x_eth_initialize(bd_t *bis);
124 +int ifx_etop_initialize(bd_t *bis);
125 int inca_switch_initialize(bd_t *bis);
126 int kirkwood_egiga_initialize(bd_t *bis);
127 int lan91c96_initialize(u8 dev_num, int base_addr);
128 @@ -85,6 +86,7 @@
129 int uli526x_initialize(bd_t *bis);
130 int sh_eth_initialize(bd_t *bis);
131 int dm9000_initialize(bd_t *bis);
132 +int lq_eth_initialize(bd_t * bis);
133
134 /* Boards with PCI network controllers can call this from their board_eth_init()
135 * function to initialize whatever's on board.
This page took 0.052035 seconds and 5 git commands to generate.