1. 20 12月, 2015 19 次提交
    • M
      arm: socfpga: Introduce common board code · 8e535af2
      Marek Vasut 提交于
      The SoCFPGA has reached a point where every single board code become
      the same, since each and every single board is probed equally from OF.
      Move the common board code into arch/arm/mach-socfpga/ .
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      8e535af2
    • M
      arm: socfpga: Switch CONFIG_HOSTNAME to CONFIG_SYS_BOARD · ea082346
      Marek Vasut 提交于
      We already have the CONFIG_SYS_BOARD variable, which defines the name
      of the board. The value in CONFIG_HOSTNAME is exactly the same and is
      thus just a duplicity, so switch it to reuse CONFIG_SYS_BOARD .
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      ea082346
    • M
      arm: socfpga: Switch CONFIG_G_DNL_MANUFACTURER to CONFIG_SYS_VENDOR · a5cad677
      Marek Vasut 提交于
      We already have the CONFIG_SYS_VENDOR variable, which defines the
      manufacturer of the board. The value in CONFIG_G_DNL_MANUFACTURER
      is just a duplicity, so switch it to reuse CONFIG_SYS_VENDOR .
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      a5cad677
    • M
      arm: socfpga: sockit: Zap VIRTUAL_TARGET · 92232747
      Marek Vasut 提交于
      There is no VT for this board, so remove this incorrect macro.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      92232747
    • M
      arm: socfpga: de0_nano: Zap VIRTUAL_TARGET · ac5516dd
      Marek Vasut 提交于
      There is no VT for this board, so remove this incorrect macro.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      ac5516dd
    • M
      arm: socfpga: socrates: Probe DWC2 UDC from OF instead of hard-coded data · b5a5d2bd
      Marek Vasut 提交于
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      b5a5d2bd
    • M
      arm: socfpga: sockit: Probe DWC2 UDC from OF instead of hard-coded data · 225217da
      Marek Vasut 提交于
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      225217da
    • M
      arm: socfpga: mcvevk: Probe DWC2 UDC from OF instead of hard-coded data · 9368aa6a
      Marek Vasut 提交于
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      9368aa6a
    • M
      arm: socfpga: de0_nano: Probe DWC2 UDC from OF instead of hard-coded data · 5b5226a8
      Marek Vasut 提交于
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      5b5226a8
    • M
      arm: socfpga: cyclone5-socdk: Probe DWC2 UDC from OF instead of hard-coded data · c90ada94
      Marek Vasut 提交于
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      c90ada94
    • M
      arm: socfpga: arria5-socdk: Probe DWC2 UDC from OF instead of hard-coded data · 70311e69
      Marek Vasut 提交于
      This patch adds the necessary OF alias for the UDC node, which let's
      the code locate the DWC2 UDC base address in OF instead of hard-coding
      it into the U-Boot binary. The code is adjusted to use the address from
      OF instead of the hard-coded one. Finally, the hard-coded address is
      removed and USB DM support is enabled.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      70311e69
    • M
      arm: socfpga: Allow DWC2 UDC probing from OF · ef4b01b2
      Marek Vasut 提交于
      The USB gadget framework does not support DM yet, so add this bit
      to let DWC2 UDC probe from OF on platforms which support it.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Lukasz Majewski <l.majewski@majess.pl>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      ef4b01b2
    • M
      arm: socfpga: socrates: Remove Micrel PHY configuration · faed7ac8
      Marek Vasut 提交于
      The Micrel PHY configuration is now done from OF, so hard-coding
      the configuration into the board file is no longer necessary.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      faed7ac8
    • M
      arm: socfpga: sockit: Remove Micrel PHY configuration · 1f5f1871
      Marek Vasut 提交于
      The Micrel PHY configuration is now done from OF, so hard-coding
      the configuration into the board file is no longer necessary.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      1f5f1871
    • M
      arm: socfpga: de0_nano: Remove Micrel PHY configuration · 5df93c55
      Marek Vasut 提交于
      The Micrel PHY configuration is now done from OF, so hard-coding
      the configuration into the board file is no longer necessary.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      5df93c55
    • M
      arm: socfpga: cyclone5-socdk: Remove Micrel PHY configuration · b5aaa036
      Marek Vasut 提交于
      The Micrel PHY configuration is now done from OF, so hard-coding
      the configuration into the board file is no longer necessary.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      b5aaa036
    • M
      arm: socfpga: arria5-socdk: Remove Micrel PHY configuration · 6b9cdb71
      Marek Vasut 提交于
      The Micrel PHY configuration is now done from OF, so hard-coding
      the configuration into the board file is no longer necessary.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      6b9cdb71
    • M
      arm: socfpga: socrates: Add missing PHY skew config · 5d8546ef
      Marek Vasut 提交于
      Add missing KSZ9021 PHY skew configuration for the EBV socrates board.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      5d8546ef
    • M
      net: phy: micrel: Configure KSZ9021/KSZ9031 skew from OF · 22854bda
      Marek Vasut 提交于
      Add code to process the KSZ9021/KSZ9031 OF props if they are present
      and configure skew registers based on the information from the OF.
      This code is only enabled if the DM support for ethernet is also
      enabled.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      
      V2: - Implement struct ksz90x1_reg_field to describe the skew register
            fields more accurately.
          - Fix RXDV/TXEN skew register default value and offset.
      22854bda
  2. 18 12月, 2015 21 次提交