1. 18 11月, 2013 4 次提交
  2. 16 11月, 2013 6 次提交
  3. 15 11月, 2013 1 次提交
  4. 14 11月, 2013 9 次提交
    • L
      powerpc/85xx: fix broken cpu "clock-frequency" property · 51abee64
      Laurentiu TUDOR 提交于
      When indexing freqProcessor[] we use the first
      value in the cpu's "reg" property, which on
      new e6500 cores IDs the threads.
      But freqProcessor[] should be indexed with a
      core index so, when fixing "the clock-frequency"
      cpu node property, access the freqProcessor[]
      with the core index derived from the "reg' property.
      If we don't do this, last half of the "cpu" nodes
      will have broken "clock-frequency" values.
      Signed-off-by: NLaurentiu Tudor <Laurentiu.Tudor@freescale.com>
      Cc: York Sun <yorksun@freescale.com>
      51abee64
    • L
      powerpc/t4240: fix per pci endpoint liodn offsets · 8f9fe660
      Laurentiu TUDOR 提交于
      Update the code that builds the pci endpoint liodn
      offset list so that it doesn't overlap with other
      liodns and doesn't generate negative offsets like:
      
        fsl,liodn-offset-list = <0 0xffffffcd 0xffffffcf
                                   0xffffffd1 0xffffffd3
                                   0xffffffd5 0xffffffd7
                                   0xffffffd9 0xffffffdb>;
      
      The update consists in adding a parameter to the
      function that builds the list to specify the base
      liodn.
      On PCI v2.4 use the old base = 256 and, on PCI 3.0
      where some of the PCIE liodns are larger than 256,
      use a base = 1024. The version check is based on
      the PCI controller's version register.
      Signed-off-by: NLaurentiu Tudor <Laurentiu.Tudor@freescale.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: York Sun <yorksun@freescale.com>
      8f9fe660
    • L
      powerpc/t4240: set pcie liodn in the correct register · b4125a23
      Laurentiu TUDOR 提交于
      The liodn for the T4240's PCIE controller is no longer set
      through a register in the guts register block but with one
      in the PCIE register block itself.
      Use the already existing SET_PCI_LIODN_BASE macro that puts
      the liodn in the correct register.
      Signed-off-by: NLaurentiu Tudor <Laurentiu.Tudor@freescale.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: York Sun <yorksun@freescale.com>
      b4125a23
    • R
      powerpc/83xx: Define USB1 and USB2 base addr for MPC834x · 4e2e0df9
      ramneek mehresh 提交于
      Define base addresse for both MPH(USB1) and DR(USB2) controllers
      for MPC834x socs
      Signed-off-by: NRamneek Mehresh <ramneek.mehresh@freescale.com>
      4e2e0df9
    • P
      powerpc/t104xrdb: Add T1042RDB_PI board support · 0d7ba2ea
      Priyanka Jain 提交于
      T1042RDB_PI is Freescale Reference Design Board supporting the T1042
      QorIQ Power Architecture™ processor. T1042 is a reduced personality
      of T1040 SoC without Integrated 8-port Gigabit. The board is designed
      with low power features targeted for Printing Image Market.
      
      T1042RDB_PI is  similar to T1040RDB board with few differences like
      it has video interface, supports T1042 personality
      
       T1042RDB_PI board Overview
       -----------------------
       - Four e5500 cores, each with a private 256 KB L2 cache
       - 256 KB shared L3 CoreNet platform cache (CPC)
       - Interconnect CoreNet platform
       - 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and interleaving
         support
       - Data Path Acceleration Architecture (DPAA) incorporating acceleration
       for the following functions:
          -  Packet parsing, classification, and distribution
          -  Queue management for scheduling, packet sequencing, and congestion
          	management
          -  Cryptography Acceleration
          - RegEx Pattern Matching Acceleration
          - IEEE Std 1588 support
          - Hardware buffer management for buffer allocation and deallocation
       - Ethernet interfaces
          - Two on-board RGMII 10/100/1G ethernet ports.
       - SERDES Connections, 8 lanes supporting:
            — PCI
            — SATA 2.0
       - DDR Controller 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and
         Interleaving
       -IFC/Local Bus
           - NAND flash: 1GB 8-bit NAND flash
           - NOR: 128MB 16-bit NOR Flash
       - Ethernet
           - Two on-board RGMII 10/100/1G ethernet ports.
           - PHY #0 remains powered up during deep-sleep
       - CPLD
       - Clocks
           - System and DDR clock (SYSCLK, “DDRCLK”)
           - SERDES clocks
       - Video
           - DIU supports video at up to 1280x1024x32bpp
           - HDMI connector
       - Power Supplies
       - USB
           - Supports two USB 2.0 ports with integrated PHYs
           - Two type A ports with 5V@1.5A per port.
       - SDHC
           - SDHC/SDXC connector
       - SPI
           - On-board 64MB SPI flash
       - I2C
           - Device connected: EEPROM, thermal monitor, VID controller, RTC
       - Other IO
          - Two Serial ports
          - ProfiBus port
          - Four I2C ports
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      0d7ba2ea
    • P
      powerpc/t104xrdb: Add T1040RDB board support · 062ef1a6
      Priyanka Jain 提交于
      T1040RDB is Freescale Reference Design Board supporting
      the T1040 QorIQ Power Architecture™ processor.
      
       T1040RDB board Overview
       -----------------------
       - Four e5500 cores, each with a private 256 KB L2 cache
       - 256 KB shared L3 CoreNet platform cache (CPC)
       - Interconnect CoreNet platform
       - 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and interleaving
         support
       - Data Path Acceleration Architecture (DPAA) incorporating acceleration
       for the following functions:
          -  Packet parsing, classification, and distribution
          -  Queue management for scheduling, packet sequencing, and congestion
             management
          -  Cryptography Acceleration
          - RegEx Pattern Matching Acceleration
          - IEEE Std 1588 support
          - Hardware buffer management for buffer allocation and deallocation
       - Ethernet interfaces
          - Integrated 8-port Gigabit Ethernet switch
          - Four 1 Gbps Ethernet controllers
       - SERDES Connections, 8 lanes supporting:
          - PCI
          - SGMII
          - QSGMII
          - SATA 2.0
       - DDR Controller 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and
         Interleaving
       -IFC/Local Bus
          - NAND flash: 1GB 8-bit NAND flash
          - NOR: 128MB 16-bit NOR Flash
       - Ethernet
          - Two on-board RGMII 10/100/1G ethernet ports.
          - PHY #0 remains powered up during deep-sleep
       - CPLD
       - Clocks
          - System and DDR clock (SYSCLK, “DDRCLK”)
          - SERDES clocks
       - Power Supplies
       - USB
          - Supports two USB 2.0 ports with integrated PHYs
          - Two type A ports with 5V@1.5A per port.
       - SDHC
          - SDHC/SDXC connector
       - SPI
          - On-board 64MB SPI flash
       - I2C
          - Devices connected: EEPROM, thermal monitor, VID controller
       - Other IO
          - Two Serial ports
          - ProfiBus port
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      [York Sun: fixed Makefile]
      Acked-by: NYork Sun <yorksun@freescale.com>
      062ef1a6
    • P
      powerpc/t1040: Update defines to support T1040SoC personalities · 2967af68
      Priyanka Jain 提交于
      T1040 Soc has four personalities:
      -T1040 (4 cores with L2 switch)
      -T1042:Reduced personality of T1040 without L2 switch
      -T1020:Reduced personality of T1040 with less cores(2 cores)
      -T1022:Reduced personality of T1040 with 2 cores and without L2 switch
      
      Update defines in arch/powerpc header files, Makefiles and in
      driver/net/fm/Makefile to support all T1040 personalities
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      [York Sun: fixed Makefiles]
      Acked-by: NYork Sun <yorksun@freescale.com>
      2967af68
    • S
      powerpc/p1010rdb: update readme for p1010rdb-pa and p1010rdb-pb · 62af7615
      Shengzhou Liu 提交于
      - Remove duplicate doc/README.p1010rdb
      - Rename README to README.P1010RDB-PA
      - Add new README.P1010RDB-PB
      
      P1010RDB-PB is a variation of previous P1010RDB-PA board.
      Signed-off-by: NShengzhou Liu <Shengzhou.Liu@freescale.com>
      62af7615
    • P
      powerpc/t1040: enable PBL tool for T1040 · 439fbe75
      Prabhakar Kushwaha 提交于
      Use a default RCW of protocol 0x66.
      A PBI configure file which uses CPC as 256KB SRAM. It can be used by
      PBL tool on T1040 to build a pbl boot image.
      Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
      439fbe75
  5. 13 11月, 2013 8 次提交
    • A
      designware_i2c: remove 10msec delay in i2c_xfer_finish · f9de54e9
      Alexey Brodkin 提交于
      This delay applies to any data transfer on I2C bus.
      
      For example 1kB data read with per-byte access (which happens if
      environment is stored in I2C EEPROM) takes more than 10 seconds.
      
      Moreover data bus driver has to care about bus state and data transfer,
      but not about internal states of attached devices.
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      
      Cc: Tom Rini <trini@ti.com>
      cc: Armando Visconti <armando.visconti@st.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Vipin KUMAR <vipin.kumar@st.com>
      Cc: Tom Rix <Tom.Rix@windriver.com>
      Cc: Mischa Jonker <mjonker@synopsys.com>
      f9de54e9
    • A
      designware_i2c: disable i2c controller during target address setup · 8b7c8725
      Alexey Brodkin 提交于
      As it is stated in DesignWare I2C databook: writes to IC_TAR (0x4)
      register succeed only when IC_ENABLE[0] is set to 0.
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      
      Cc: Tom Rini <trini@ti.com>
      cc: Armando Visconti <armando.visconti@st.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Vipin KUMAR <vipin.kumar@st.com>
      Cc: Tom Rix <Tom.Rix@windriver.com>
      Cc: Mischa Jonker <mjonker@synopsys.com>
      8b7c8725
    • A
      cmd_eeprom: fix i2c_{read|write} usage if env is in I2C EEPROM · a2e0a45d
      Alexey Brodkin 提交于
      Data "offset" is not used directly in case of I2C EEPROM. Istead it is
      split into "block number" and "offset within mentioned block". Which are
      "addr[0]" and "addr[1]" respectively.
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      
      Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      cc: Peter Tyser <ptyser@xes-inc.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mischa Jonker <mjonker@synopsys.com>
      a2e0a45d
    • H
      i2c, omap1510: remove i2c driver · 85bb251b
      Heiko Schocher 提交于
      remove omap1510 i2c driver, as there is no board which uses it
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Jian Zhang <jzhang@ti.com>
      85bb251b
    • H
      i2c, zynq: convert zynq i2c driver to new multibus/multiadapter framework · 0bdffe71
      Heiko Schocher 提交于
      - add zync i2c driver to new multibus/multiadpater support
      - adapted all config files, which uses this driver
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Michal Simek <michal.simek@xilinx.com>
      0bdffe71
    • H
      i2c, omap24xx: convert driver to new mutlibus/mutliadapter framework · 6789e84e
      Heiko Schocher 提交于
      - add omap24xx driver to new multibus/multiadpater support
      - adapted all config files, which uses this driver
      
      Tested on the am335x based siemens boards rut, dxr2 and pxm2
      posted here:
      http://patchwork.ozlabs.org/patch/263211/Signed-off-by: NHeiko Schocher <hs@denx.de>
      Tested-by: NTom Rini <trini@ti.com>
      Cc: Lars Poeschel <poeschel@lemonage.de>
      Cc: Steve Sakoman <sakoman@gmail.com>
      Cc: Thomas Weber <weber@corscience.de>
      Cc: Tom Rix <Tom.Rix@windriver.com>
      Cc: Grazvydas Ignotas <notasas@gmail.com>
      Cc: Enric Balletbo i Serra <eballetbo@iseebcn.com>
      Cc: Luca Ceresoli <luca.ceresoli@comelit.it>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Cc: Ilya Yanok <yanok@emcraft.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Nishanth Menon <nm@ti.com>
      Cc: Pali Rohár <pali.rohar@gmail.com>
      Cc: Peter Barada <peter.barada@logicpd.com>
      Cc: Nagendra T S  <nagendra@mistralsolutions.com>
      Cc: Michael Jones <michael.jones@matrix-vision.de>
      Cc: Raphael Assenat <raph@8d.com>
      Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
      Acked-by: NStefano Babic <sbabic@denx.de>
      6789e84e
    • M
      i2c: mxs_i2c: Squash endless loop · 12491355
      Marek Vasut 提交于
      The endless waiting for a bit to be set can cause a hang, add a timeout
      so we prevent such situation. A testcase for such a hang is below. The
      testcase assumes a device to be present at address 0x50 and a device to
      NOT be present at address 0x42 . Also note that the "sleep 1" induced
      delays are imperative for this bug to manifest .
      
      i2c read 0x42 0x0.2 0x10 0x42000000 ; sleep 1 ; \
      i2c read 0x50 0x0.2 0x10 0x42000000 ; sleep 1 ; \
      i2c read 0x42 0x0.2 0x10 0x42000000
      
      The expected result of the above command is:
      
      Error reading the chip.
      Error reading the chip.
      
      While without this patch, we observe a hang in the last read from 0x42
      precisely when waiting for this bit to be set.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      12491355
    • N
      i2c: sh_i2c: Update to new CONFIG_SYS_I2C framework · 2035d77d
      Nobuhiro Iwamatsu 提交于
      This updates to new I2C framwwork on sh_i2c.
      And this also updates boards(kzm9g and ecovec) that using sh_i2c.
      Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      2035d77d
  6. 12 11月, 2013 10 次提交
  7. 11 11月, 2013 2 次提交
    • D
      time: fix gcc warnings on MIPS64 · d770f396
      Daniel Schwierzeck 提交于
      Commit 8dfafdde introduced
      new gcc warnings on MIPS64:
      
      time.c: In function 'tick_to_time':
      time.c:59:2: warning: comparison of distinct pointer types lacks a cast [enabled by default]
      time.c:59:2: warning: passing argument 1 of '__div64_32' from incompatible pointer type [enabled by default]
      In file included from time.c:10:0:
      ./u-boot-mips/include/div64.h:22:17: note: expected 'uint64_t *' but argument is of type 'long long unsigned int *'
      time.c: In function 'usec_to_tick':
      time.c:76:2: warning: comparison of distinct pointer types lacks a cast [enabled by default]
      time.c:76:2: warning: passing argument 1 of '__div64_32' from incompatible pointer type [enabled by default]
      In file included from time.c:10:0:
      ./u-boot-mips/include/div64.h:22:17: note: expected 'uint64_t *' but argument is of type 'long long unsigned int *'
      Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      d770f396
    • T
      Merge branch 'master' of git://git.denx.de/u-boot-mips · 60390d70
      Tom Rini 提交于
      60390d70