1. 20 Aug, 2014 6 commits
    • York Sun's avatar
      powerpc/t4qds: Move doc/README.t4240qds under board/freescale/t4qds · 8af353bb
      York Sun authored
      Board specific README file should be moved to board folder.
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      8af353bb
    • Shaohui Xie's avatar
      powerpc/T4240QDS/eth: some fix for XFI · 9bf499ac
      Shaohui Xie authored
      XFI is supported on T4QDS-XFI board, which removed slot3, and four LANEs
      of serdes2 are routed to a SFP+ cages, which to house fiber cable or
      direct attach cable(copper), the copper cable is used to emulate the
      10GBASE-KR scenario.
      
      So, for XFI usage, there are two scenarios, one will use fiber cable,
      another will use copper cable. For fiber cable, there is NO PHY, while
      for copper cable, we need to use internal PHY which exist in Serdes to
      do auto-negotiation and link training, which implemented in kernel.
      We use hwconfig to define cable type for XFI, and fixup dtb based on the
      cable type.
      
      For copper cable, set below env in hwconfig:
      
      fsl_10gkr_copper:<10g_mac_name>
      
      the <10g_mac_name> can be fm1_10g1, fm1_10g2, fm2_10g1, fm2_10g2. The
      four <10g_mac_name>s do not have to be coexist in hwconfig. For XFI ports,
      if a given 10G port will use the copper cable for 10GBASE-KR, set the
      <10g_mac_name> of the port in hwconfig, otherwise, fiber cable will be
      assumed to be used for the port.
      
      For ex. if four XFI ports will both use copper cable, the hwconfig
      should contain:
      
      fsl_10gkr_copper:fm1_10g1,fm1_10g2,fm2_10g1,fm2_10g2
      
      For fiber cable:
      
      1. give PHY address to a XFI port, otherwise, the XFI ports will not be
      available in U-boot, there is no PHY physically for XFI when using fiber
      cable, this is just to make U-boot happy and we can use the XFI ports
      in U-boot.
      2. fixup dtb to use fixed-link in case of fiber cable which has no PHY.
      Kernel requests that a MAC must have a PHY or fixed-link.
      
      When using XFI protocol, the MAC 9/10 on FM1 should init as 10G interface.
      
      Change serdes 2 protocol 56 to 55 which has same feature as 56 since 56
      is not valid any longer.
      Signed-off-by: default avatarShaohui Xie <Shaohui.Xie@freescale.com>
      Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
      9bf499ac
    • Fabio Estevam's avatar
      mx6sxsabresd: Add Ethernet support · d145878d
      Fabio Estevam authored
      mx6sxsabresd board has 2 FEC ports, each one connected to a AR8031.
      
      Add support for one FEC port initially.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      d145878d
    • Fabio Estevam's avatar
      mx6sxsabresd: Convert to the new Kconfig style · 080d72f2
      Fabio Estevam authored
      mx6sxsabresd was not in the master branch when the conversion to the new Kconfig
      style happened, so convert it now so that it can build again.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      080d72f2
    • Fabio Estevam's avatar
      mx6sxsabresd: Update DDR initialization · eb5c1807
      Fabio Estevam authored
      Use the latest DDR initialization values suggested by the FSL hardware team.
      
      While at it, add some comments for clarification.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      eb5c1807
    • Fabio Estevam's avatar
      mx31pdk: Change maintainer · 5494b92d
      Fabio Estevam authored
      Currently I don't have access to a mx31pdk board.
      
      Magnus was the original maintainer of the board and accepted to take back
      this role.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Acked-by: default avatarMagnus Lilja <lilja.magnus@gmail.com>
      Acked-by: default avatarStefano Babic <sbabic@denx.de>
      5494b92d
  2. 12 Aug, 2014 3 commits
  3. 08 Aug, 2014 1 commit
  4. 30 Jul, 2014 2 commits
    • Masahiro Yamada's avatar
      Add board MAINTAINERS files · 93d4334f
      Masahiro Yamada authored
      We have switched to Kconfig and the boards.cfg file is going to
      be removed. We have to retrieve the board status and maintainers
      information from it.
      
      The MAINTAINERS format as in Linux Kernel would be nice
      because we can crib the scripts/get_maintainer.pl script.
      
      After some discussion, we chose to put a MAINTAINERS file under each
      board directory, not the top-level one because we want to collect
      relevant information for a board into a single place.
      
      TODO:
      Modify get_maintainer.pl to scan multiple MAINTAINERS files.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Suggested-by: default avatarTom Rini <trini@ti.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      93d4334f
    • Masahiro Yamada's avatar
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada authored
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      dd84058d
  5. 23 Jul, 2014 2 commits
  6. 22 Jul, 2014 5 commits
  7. 10 Jul, 2014 1 commit
  8. 04 Jul, 2014 1 commit
  9. 19 Jun, 2014 1 commit
  10. 17 Jun, 2014 1 commit
  11. 11 Jun, 2014 1 commit
  12. 09 Jun, 2014 1 commit
  13. 05 Jun, 2014 6 commits
  14. 30 May, 2014 1 commit
  15. 28 May, 2014 2 commits
  16. 25 May, 2014 1 commit
  17. 16 May, 2014 3 commits
  18. 15 May, 2014 1 commit
  19. 13 May, 2014 1 commit
    • York Sun's avatar
      powerpc/freescale: Change the return value of mac_read_from_eeprom() · bffac7ae
      York Sun authored
      The return value has not been checked by its caller, until recent change
      of using generic board architecture. The error of this function is not
      critical enough to hang the system. Printing the warning message is enough
      to catch user's attention. U-boot should continue to boot to give user
      a chance to fix the EEPROM. Chaning the return value to 0 to avoid hanging
      in the board_init_r().
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      bffac7ae