1. 28 Jan, 2016 6 commits
  2. 03 Aug, 2015 1 commit
  3. 08 Sep, 2014 3 commits
    • Claudiu Manoil's avatar
      net: tsec: Remove tx snooping support from LS1 · 5ea060a9
      Claudiu Manoil authored
      Remove the DMCTRL Tx snooping bits (TDSEN and TBDSEN) as a
      workaround for LS1.  It has been observed that currently
      the Tx stops functioning after a fair amount of Tx traffic
      with these settings on.  These bits are sticky and once set
      they cannot be reset from Linux, for instance.
      Signed-off-by: 's avatarClaudiu Manoil <claudiu.manoil@freescale.com>
      5ea060a9
    • Alison Wang's avatar
      ls102xa: etsec: Add etsec support for LS102xA · 52d00a81
      Alison Wang authored
      This patch is to add etsec support for LS102xA. First, Little-endian
      descriptor mode should be enabled. So RxBDs and TxBDs are interpreted
      with little-endian byte ordering. Second, TSEC_SIZE and TSEC_MDIO_OFFSET
      are different from PowerPC, redefine them for LS1021xA.
      Signed-off-by: 's avatarAlison Wang <alison.wang@freescale.com>
      52d00a81
    • Claudiu Manoil's avatar
      net: Merge asm/fsl_enet.h into fsl_mdio.h · 93f26f13
      Claudiu Manoil authored
      fsl_enet.h defines the mapping of the usual MII management
      registers, which are included in the MDIO register block
      common to Freescale ethernet controllers. So it shouldn't
      depend on the CPU architecture but it should be actually
      part of the arch independent fsl_mdio.h.
      
      To remove the arch dependency, merge the content of
      asm/fsl_enet.h into fsl_mdio.h.
      Some files (like fm_eth.h) were simply including fsl_enet.h
      only for phy.h. These were updated to include phy.h instead.
      Signed-off-by: 's avatarClaudiu Manoil <claudiu.manoil@freescale.com>
      93f26f13
  4. 22 Nov, 2013 4 commits
    • Claudiu Manoil's avatar
      net: tsec: Use portable regs type (uint->u32) · 82ef75ca
      Claudiu Manoil authored
      Use cross arch portable u32 instead of uint for the
      tsec registers.  Remove the typedefs for the register
      struct definitions in the process.  Fix long lines.
      Signed-off-by: 's avatarClaudiu Manoil <claudiu.manoil@freescale.com>
      82ef75ca
    • Claudiu Manoil's avatar
      net: tsec: Use portable types and accessors for BDs · 9c9141fd
      Claudiu Manoil authored
      Currently, the buffer descriptor (BD) fields cannot be
      correctly accessed by a little endian processor.  This
      patch fixes the issue by making the access of BDs to be
      portable among different cpu architectures.
      
      Use portable data types for the Rx/Tx buffer descriptor
      fields.  Use portable I/O accessors to insure that the
      big endian BDs are correctly accessed by little endian
      cpus too, and to insure proper sync with the H/W.
      Removed the redundant RTXBD "volatile" type, as proper
      synchronization around BD data accesses is provided by
      the I/O accessors now.
      The "sparse" tool was also used to verify the correctness
      of these changes.
      
      Cc: Scott Wood <scottwood@freescale.com>
      Signed-off-by: 's avatarClaudiu Manoil <claudiu.manoil@freescale.com>
      9c9141fd
    • Claudiu Manoil's avatar
      net: tsec: Fix CamelCase issues around BD code · 18b338fb
      Claudiu Manoil authored
      Fix bufPtr and the rxIdx/ txIdx occurrences to
      solve the related checkpatch warnings for the
      coming patches.
      Signed-off-by: 's avatarClaudiu Manoil <claudiu.manoil@freescale.com>
      18b338fb
    • Claudiu Manoil's avatar
      net: tsec: Cleanup tsec regs init and fix __iomem warns · aec84bf6
      Claudiu Manoil authored
      Remove tsec_t typedef.  Define macros as getters of
      tsec and mdio register memory regions, for consistent
      initialization of various 'regs' fields and also to
      manage overly long initialization lines.
      Use the __iomem address space marker to address sparse
      warnings in tsec.c where IO accessors are used, like:
      
      tsec.c:394:19: warning: incorrect type in argument 1 (different
      address spaces)
      tsec.c:394:19:    expected unsigned int volatile [noderef]
      <asn:2>*addr
      tsec.c:394:19:    got unsigned int *<noident>
      [...]
      
      Add the __iomem address space marker for the tsec pointers
      to struct tsec_mii_mng memory mapped register regions.
      This solves the sparse warnings for mixig normal pointers
      with __iomem pointers for tsec.
      Signed-off-by: 's avatarClaudiu Manoil <claudiu.manoil@freescale.com>
      aec84bf6
  5. 29 Apr, 2011 1 commit
  6. 20 Apr, 2011 2 commits
  7. 09 Jan, 2011 1 commit
  8. 01 Feb, 2010 3 commits
  9. 05 Jan, 2010 2 commits
  10. 15 Jun, 2009 1 commit
  11. 12 Jun, 2009 1 commit
  12. 05 Dec, 2008 1 commit
    • Anatolij Gustschin's avatar
      net: tsec: Fix Marvell 88E1121R phy init · 23afaba6
      Anatolij Gustschin authored
      This patch tries to ensure that phy interrupt pin
      won't be asserted after booting. We experienced
      following issues with current 88E1121R phy init:
      
      Marvell 88E1121R phy can be hardware-configured
      to share MDC/MDIO and interrupt pins for both ports
      P0 and P1 (e.g. as configured on socrates board).
      Port 0 interrupt pin will be shared by both ports
      in such configuration. After booting Linux and
      configuring eth0 interface, port 0 phy interrupts
      are enabled. After rebooting without proper eth0
      interface shutdown port 0 phy interrupts remain
      enabled so any change on port 0 (link status, etc.)
      cause assertion of the interrupt. Now booting Linux
      and configuring eth1 interface will cause permanent
      phy interrupt storm as the registered phy 1 interrupt
      handler doesn't acknowledge phy 0 interrupts. This
      of course should be fixed in Linux driver too.
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
      Acked-by: 's avatarAndy Fleming <afleming@freescale.com>
      Signed-off-by: 's avatarBen Warren <biggerbadderben@gmail.com>
      23afaba6
  13. 18 Oct, 2008 1 commit
  14. 13 Sep, 2008 1 commit
  15. 03 Sep, 2008 4 commits
  16. 20 May, 2008 1 commit
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: 's avatarWolfgang Denk <wd@denx.de>
      53677ef1
  17. 03 May, 2008 1 commit
  18. 01 Apr, 2008 1 commit
  19. 16 Jan, 2008 1 commit
  20. 25 Nov, 2007 1 commit
  21. 09 Aug, 2007 1 commit
  22. 24 Apr, 2007 1 commit
  23. 02 Mar, 2007 1 commit
    • Paul Gortmaker's avatar
      mpc83xx: U-Boot support for Wind River SBC8349 · 91e25769
      Paul Gortmaker authored
      I've redone the SBC8349 support to match git-current, which
      incorporates all the MPC834x updates from Freescale since the 1.1.6
      release,  including the DDR changes.
      
      I've kept all the SBC8349 files as parallel as possible to the
      MPC8349EMDS ones for ease of maintenance and to allow for easy
      inspection of what was changed to support this board.  Hence the SBC8349
      U-Boot has FDT support and everything else that the MPC8349EMDS has.
      
      Fortunately the Freescale updates added support for boards using CS0,
      but I had to change spd_sdram.c to allow for board specific settings for
      the sdram_clk_cntl (it is/was hard coded to zero, and that remains the
      default if the board doesn't specify a value.)
      
      Hopefully this should be mergeable as-is and require no whitespace
      cleanups or similar, but if something doesn't measure up then let me
      know and I'll fix it.
      
      Thanks,
      Paul.
      91e25769