4 ## MIPS Systems (default = big endian)
5 #########################################################################
10 + easy50712_DDR166M_ramboot \
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 && \
34 #########################################################################
36 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
37 $(XECHO) "... with 150MHz system clock" ; \
39 - @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
40 + @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip infineon
42 tb0229_config: unconfig
43 @$(MKCONFIG) $(@:_config=) mips mips tb0229
44 @@ -3411,6 +3411,53 @@
45 @$(MKCONFIG) -a vct mips mips vct micronas
47 #########################################################################
49 +#########################################################################
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" ; \
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 _, ,$@))); \
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"; \
70 + @$(MKCONFIG) -a $(word 1,$(subst _, ,$@)) mips mips easy50712 infineon danube
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" ; \
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 _, ,$@))); \
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"; \
92 + @$(MKCONFIG) -a $(word 1,$(subst _, ,$@)) mips mips easy50812 infineon ar9
94 +#########################################################################
96 #########################################################################
98 --- a/drivers/net/Makefile
99 +++ b/drivers/net/Makefile
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
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
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);
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);
134 /* Boards with PCI network controllers can call this from their board_eth_init()
135 * function to initialize whatever's on board.