Skip to content
Snippets Groups Projects
  1. Nov 03, 2011
  2. Oct 27, 2011
    • Marek Vasut's avatar
      GCC4.6: Squash warnings in 4xx_enet.c · c97e74af
      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: default avatarMarek Vasut <marek.vasut@gmail.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Mike Frysinger <vapier@gentoo.org>
      c97e74af
  3. Oct 05, 2011
    • Mike Frysinger's avatar
      net: drop !NET_MULTI code · e2a53458
      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: default avatarMike Frysinger <vapier@gentoo.org>
      e2a53458
  4. Jul 28, 2011
  5. Jan 09, 2011
  6. Sep 23, 2010
  7. Aug 09, 2010
  8. Jul 12, 2010
  9. Oct 07, 2009
  10. Oct 05, 2009
  11. Oct 03, 2009
    • Stefan Roese's avatar
      ppc4xx: Big cleanup of PPC4xx defines · 297a6587
      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: default avatarStefan Roese <sr@denx.de>
      297a6587
  12. Sep 11, 2009
    • Stefan Roese's avatar
      ppc4xx: Big cleanup of PPC4xx defines · d1c3b275
      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: default avatarStefan Roese <sr@denx.de>
      d1c3b275
  13. Aug 09, 2009
    • Josh Boyer's avatar
      Dual-license IBM code contributions · 31773496
      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: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
      31773496
  14. Jul 23, 2009
    • Alessio Centazzo's avatar
      ppc4xx: Fixed compilation warning in 4xx_enet.c · 0544c636
      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: default avatarAlessio Centazzo <acpatin@yahoo.com>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      0544c636
  15. Jun 15, 2009
  16. Jun 09, 2009
    • Felix Radensky's avatar
      ppc4xx/net: Fix MDIO clock setup · 0c24dec5
      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: default avatarFelix Radensky <felix@embedded-sol.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      0c24dec5
  17. Mar 20, 2009
    • Mike Frysinger's avatar
      drivers/net/: get mac address from environment · d3f87148
      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: default avatarMike 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>
      d3f87148
  18. Nov 10, 2008
  19. Oct 18, 2008
  20. Sep 08, 2008
  21. Sep 05, 2008
  22. Jul 11, 2008
    • Stefan Roese's avatar
      ppc4xx: Rework 440GX UIC handling · 5de85140
      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: default avatarStefan Roese <sr@denx.de>
      5de85140
    • Stefan Roese's avatar
      ppc4xx: Consolidate PPC4xx UIC defines · d1631fe1
      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: default avatarStefan Roese <sr@denx.de>
      d1631fe1
    • Stefan Roese's avatar
      ppc4xx: Consolidate PPC4xx UIC defines · 4fb25a3d
      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: default avatarStefan Roese <sr@denx.de>
      4fb25a3d
    • Grant Erickson's avatar
      ppc4xx: Add MII mode support to the EMAC RGMII Bridge · 1740c1bf
      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: default avatarGrant Erickson <gerickson@nuovations.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      1740c1bf
  23. Jul 10, 2008
  24. Apr 18, 2008
  25. Apr 03, 2008
  26. Mar 27, 2008
  27. Mar 15, 2008
  28. Mar 02, 2008
  29. Jan 09, 2008
  30. Jan 08, 2008
  31. Dec 27, 2007
Loading