- Nov 03, 2011
-
-
Wolfgang Denk authored
Fix: 4xx_enet.c: In function 'enet_rcv': 4xx_enet.c:1772:21: warning: variable 'ef_ptr' set but not used [-Wunused-but-set-variable] Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de>
-
- Oct 27, 2011
-
-
Marek Vasut authored
4xx_enet.c: In function 'ppc_4xx_eth_init': 4xx_enet.c:1352: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'volatile struct mal_desc_t *' 4xx_enet.c:1352: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'volatile struct mal_desc_t *' 4xx_enet.c:1365: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int' 4xx_enet.c:1376: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int' Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
-
- Oct 05, 2011
-
-
Mike Frysinger authored
This is long over due. All but two net drivers have been converted, but those have now been dropped. The only thing left to do is actually delete all references to NET_MULTI and code that is compiled when that is not defined. So here we scrub the core code. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Jul 28, 2011
-
-
Mike Williams authored
Recieve/Receive recieve/receive Interupt/Interrupt interupt/interrupt Addres/Address addres/address Signed-off-by:
Mike Williams <mike@mikebwilliams.com>
-
Stefan Roese authored
Only install der 4xx-EMAC interrupt handlers *after* the core network driver is registered. This problem was noticed on the APM Taishan 440GX board, where the board hung upon bootup after displaying "Net:". Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jan 09, 2011
-
-
Mike Frysinger authored
The include/miiphy.h header duplicates a lot of things from linux/mii.h. So punt all the things that overlap to keep the API simple and to make merging between U-Boot and Linux simpler. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Sep 23, 2010
-
-
Stefan Roese authored
This patch starts a bit PPC4xx header cleanup. First patch mostly touches PPC440 files. A later patch will touch the PPC405 files as well. This cleanup is done by creating header files for all SoC versions and moving the SoC specific defines into these special headers. This way the common header ppc405.h and ppc440.h can be cleaned up finally. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch moves some ppc4xx related headers from the common include directory (include/) to the powerpc specific one (arch/powerpc/include/asm/). This way to common include directory is not so cluttered with files. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Aug 09, 2010
-
-
Mike Frysinger authored
The driver name does not need to be writable, so constify it. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Jul 12, 2010
-
-
Stefan Roese authored
By defining CONFIG_M88E1111_DISABLE_FIBER boards can configure the M88E1111 PYH to disable fiber. This is needed for an upcoming PPC460GT based board, which has fiber/copper auto-selection enabled by default. This doesn't seem to work. So we disable fiber in the PHY register. Signed-off-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Oct 07, 2009
-
-
Niklaus Giger authored
Modify all existing *.c files to use the new register names as seen in the AMCC manuals. Signed-off-by:
Niklaus Giger <niklaus.giger@member.fsf.org> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Oct 05, 2009
-
-
James Clough authored
On 405EZ the RX-/TX-interrupts are coalesced into one IRQ bit in the UIC. We need to acknowledge the RX-/TX-interrupts in the SDR0_ICINTSTAT reg as well. This problem was introduced with commit d1631fe1 [ppc4xx: Consolidate PPC4xx UIC defines] Signed-off-by:
James Clough <james@rtetc.com> Signed-off-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Oct 03, 2009
-
-
Stefan Roese authored
This patch cleans up multiple issues of the 4xx register (mostly DCR, SDR, CPR, etc) definitions: - Change lower case defines to upper case (plb4_acr -> PLB4_ACR) - Change the defines to better match the names from the user's manuals (e.g. cprpllc -> CPR0_PLLC) - Removal of some unused defines Please test this patch intensive on your PPC4xx platform. Even though I tried not to break anything and tested successfully on multiple 4xx AMCC platforms, testing on custom platforms is recommended. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Sep 11, 2009
-
-
Stefan Roese authored
This patch cleans up multiple issues of the 4xx register (mostly DCR, SDR, CPR, etc) definitions: - Change lower case defines to upper case (plb4_acr -> PLB4_ACR) - Change the defines to better match the names from the user's manuals (e.g. cprpllc -> CPR0_PLLC) - Removal of some unused defines Please test this patch intensive on your PPC4xx platform. Even though I tried not to break anything and tested successfully on multiple 4xx AMCC platforms, testing on custom platforms is recommended. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Aug 09, 2009
-
-
Josh Boyer authored
It was brought to our attention that U-Boot contains code derived from the IBM OpenBIOS source code originally provided with some of the older PowerPC 4xx development boards. As a result, the original license of this code has been carried in the various files for a number of years in the U-Boot project. IBM is dual-licensing the IBM code contributions already present in U-Boot under either the terms of the GNU General Public License version 2, or the original code license already present. Signed-off-by:
Josh Boyer <jwboyer@linux.vnet.ibm.com>
-
- Jul 23, 2009
-
-
Alessio Centazzo authored
This patch fixes a compilation warning for some Ethernet PHY-less PPC4xx platforms (440SPE based ones) and a potential compilation error for 440SP platforms (use of undefined 'ethgroup' variable). In the original code and in case of 440SPE platforms, 'ethgroup' is initialized to -1 and never modified. Later in the function, within an #ifdef statement, an 'if statement' executes code only if 'ethgroup' is set to 4, therefore it is harmless to avoid executing the 'if statement' by removing the CONFIG_440SPE from the affected #ifdefs. In case of 440SP platforms with on-board Ethernet PHY, 'ethgroup' is undefined but used (there are not such platforms in the repository yet). All other architectures are not affected by this change. Signed-off-by:
Alessio Centazzo <acpatin@yahoo.com> Acked-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Jun 15, 2009
-
-
Ben Warren authored
Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Jun 09, 2009
-
-
Felix Radensky authored
This patch fixes MDIO clock setup in case when OPB frequency is 100MHz. Current code assumes that the value of sysinfo.freqOPB is 100000000 when OPB frequency is 100MHz. In reality it is 100000001. As a result MDIO clock is set to incorrect value, larger than 2.5MHz, thus violating the standard. This in not a problem on boards equipped with Marvell PHYs (e.g. Canyonlands), since those PHYs support MDIO clocks up to 8.3MHz, but can be a problem for other PHYs (e.g. Realtek ones). Signed-off-by:
Felix Radensky <felix@embedded-sol.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Mar 20, 2009
-
-
Mike Frysinger authored
The environment is the canonical storage location of the mac address, so we're killing off the global data location and moving everything to querying the env directly. The drivers that get converted here: 3c589 4xx_enet dc2114x dm9000x enc28j60 fsl_mcdmafec ks8695eth mcffec rtl8019 rtl8169 s3c4510b_eth xilinx_emac xilinx_emaclite Signed-off-by:
Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com> CC: Rolf Offermanns <rof@sysgo.de> CC: Stefan Roese <sr@denx.de> CC: Sascha Hauer <saschahauer@web.de> CC: TsiChung Liew <Tsi-Chung.Liew@freescale.com> CC: Greg Ungerer <greg.ungerer@opengear.com> CC: Xue Ligong <lgxue@hotmail.com> CC: Masami Komiya <mkomiya@sonare.it> CC: Curt Brune <curt@cucy.com> CC: Michal SIMEK <monstr@monstr.eu>
-
- Nov 10, 2008
-
-
Ben Warren authored
Also changed path in all linker scripts that reference this driver Signed-off-by:
Ben Warren <biggerbadderben@gmail.com> Acked-by:
Stefan Roese <sr@denx.de>
-
Ben Warren authored
All in-tree IBM/AMCC PPC4xx boards using the EMAC get this new CONFIG Signed-off-by:
Ben Warren <biggerbadderben@gmail.com> Acked-by:
Stefan Roese <sr@denx.de>
-
- Oct 18, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Sep 08, 2008
-
-
Stefan Roese authored
Since this define is only used on one board that was never really in production, removing this compile time option doesn't hurt and makes the code more readable. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch fixes a compilation warning for the PIP405 board. It moves the #ifndef CONFIG_CS8952_PHY define a little so that the warning doesn't occur anymore. I am a little unsure if this #ifdef is at the correct place now or if it could be removed completely. This needs to get tested on the PIP405 board. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Sep 05, 2008
-
-
Victor Gallardo authored
This patch adds GPCS, SGMII and M88E1112 PHY support for the AMCC PPC460GT/EX processors. Signed-off-by:
Victor Gallardo <vgallardo@amcc.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jul 11, 2008
-
-
Stefan Roese authored
This patch reworks the 440GX interrupt handling so that the common 4xx code can be used. The 440GX is an exception to all other 4xx variants by having the cascading interrupt vectors not on UIC0 but on a special UIC named UICB0 (UIC Base 0). With this patch now, U-Boot references the 440GX UICB0 when UIC0 is selected. And the common 4xx interrupt handling is simpler without any 440GX special cases. Also some additional cleanup to cpu/ppc4xx/interrupt.c is done. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This 2nd patch now removes all UIC mask bit definition. They should be generated from the vectors by using the UIC_MASK() macro from now on. This way only the vectors need to get defined for new PPC's. Also only the really used interrupt vectors are now defined. This makes definitions for new PPC versions easier and less error prone. Another part of this patch is that the 4xx emac driver got a little cleanup, since now the usage of the interrupts is clearer. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch is the first step to consolidate the UIC related defines in the 4xx headers. Move header from asm-ppc/ppc4xx-intvec.h to asm-ppc/ppc4xx-uic.h as it will hold all UIC related defines in the next steps. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Grant Erickson authored
This patch adds support for placing the RGMII bridge on the PPC405EX(r) into MII/GMII mode and allows a board-specific configuration to specify the bridge mode at compile-time. Signed-off-by:
Grant Erickson <gerickson@nuovations.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jul 10, 2008
-
-
Stefan Roese authored
This patch fixes ppc4xx related printf format warning. Those warnings are now visible since patch dc4b0b38 [Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is really helpful. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Apr 18, 2008
-
-
Anatolij Gustschin authored
Currently U-Boot crashes in ppc_4xx_eth_init on sequoia with cache enabled (TLB Parity exeption). This patch fixes the problem. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
- Apr 03, 2008
-
-
Stefan Roese authored
This patch fixes a problem with the RGMII setup of the 460GT. The 460GT has 2 RGMII instances and we need to configure the 2nd RGMII instance for the EMAC2+3 channels. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Mar 27, 2008
-
-
Stefan Roese authored
Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch adds support for the AMCC Glacier 460GT eval board. The main difference to the Canyonlands board are listed here: - 4 ethernet ports instead of 2 - no SATA port - no USB port Currently EMAC2+3 are not working. This will be fixed in a later release. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Mar 15, 2008
-
-
Stefan Roese authored
This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Mar 02, 2008
-
-
Stefan Roese authored
The 405EZ only supports 512 bytes of rx-/tx-fifo EMAC sizes. But currently 4k/2k is configured. This patch fixes this issue. Thanks to Thomas Kindler <tkindler@lenord.de> for pointing this out. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Anatolij Gustschin authored
U-Boot crashes in the net loop if CONFIG_4xx_DCACHE is enabled. To reproduce the problem ensure that 'ethrotate' environment variable isn't set to "no" and then run "tftp 200000 not_existent_file". This patch tries to fix the issue. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
- Jan 09, 2008
-
-
Matthias Fuchs authored
This patch allows the use of 4xx interrupt vector number defines in board specific code outside cpu/ppc4xx. Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-
- Jan 08, 2008
-
-
Stefan Roese authored
Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Dec 27, 2007
-
-
Matthias Fuchs authored
flush + invalidate_dcache_range() expect the start and stop+1 address. So the stop address is the first address behind (!) the range. Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd-electronics.com>
-