1. 17 10月, 2015 5 次提交
  2. 16 9月, 2015 1 次提交
    • T
      genirq: Remove irq argument from irq flow handlers · bd0b9ac4
      Thomas Gleixner 提交于
      Most interrupt flow handlers do not use the irq argument. Those few
      which use it can retrieve the irq number from the irq descriptor.
      
      Remove the argument.
      
      Search and replace was done with coccinelle and some extra helper
      scripts around it. Thanks to Julia for her help!
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      bd0b9ac4
  3. 14 9月, 2015 1 次提交
    • T
      powerpc/85xx: Prepare irq handlers for irq argument removal · 0a0dbd92
      Thomas Gleixner 提交于
      The irq argument of most interrupt flow handlers is unused or merily
      used instead of a local variable. The handlers which need the irq
      argument can retrieve the irq number from the irq descriptor.
          
      Search and update was done with coccinelle and the invaluable help of
      Julia Lawall.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: linuxppc-dev@lists.ozlabs.org
      0a0dbd92
  4. 18 8月, 2015 2 次提交
    • P
      powerpc/fsl-booke: Add T1040D4RDB/T1042D4RDB board support · 0d748ec5
      Priyanka Jain 提交于
      T1040D4RDB/T1042D4RDB are Freescale Reference Design Board
      which can support T1040/T1042 QorIQ Power
      Architecture™ processor respectively
      
      T1040D4RDB/T1042D4RDB board Overview
      -------------------------------------
      - SERDES Connections, 8 lanes supporting:
              - PCI
              - SGMII
              - SATA 2.0
              - QSGMII(only for T1040D4RDB)
          - DDR Controller
              - Supports rates of up to 1600 MHz data-rate
              - Supports one DDR4 UDIMM
          -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
      
          Add support for T1040/T1042D4RDB board:
          -add device tree
          -Add entry in corenet_generic.c
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      0d748ec5
    • H
      powerpc/85xx: Remove unused pci fixup hooks on c293pcie · 32d3c4ff
      Hou Zhiqiang 提交于
      The c293pcie board is an endpoint device and it doesn't need PM,
      so remove hooks pcibios_fixup_phb and pcibios_fixup_bus.
      Signed-off-by: NHou Zhiqiang <B48286@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      32d3c4ff
  5. 03 6月, 2015 5 次提交
  6. 01 4月, 2015 1 次提交
    • Y
      powerpc/mpc85xx: call k(un)map_atomic rather than k(un)map · 88b7936d
      Yanjiang Jin 提交于
      The k(un)map function may be called in atomic context in the
      function map_and_flush(), so use k(un)map_atomic to replace it,
      else we would get the below warning during kdump:
      
      BUG: sleeping function called from invalid context at include/linux/highmem.h:58
      in_atomic(): 1, irqs_disabled(): 1, pid: 736, name: sh
      INFO: lockdep is turned off.
      irq event stamp: 0
      hardirqs last  enabled at (0): [<          (null)>]           (null)
      hardirqs last disabled at (0): [<c000000000066d1c>] .copy_process.part.44+0x50c/0x1360
      softirqs last  enabled at (0): [<c000000000066d1c>] .copy_process.part.44+0x50c/0x1360
      softirqs last disabled at (0): [<          (null)>]           (null)
      CPU: 1 PID: 736 Comm: sh Tainted: G      D W    3.10.62-ltsi-WR6.0.0.0_standard #2
      Call Trace:
      [c0000000f47cf120] [c00000000000b150] .show_stack+0x170/0x290 (unreliable)
      [c0000000f47cf210] [c000000000b71334] .dump_stack+0x28/0x3c
      [c0000000f47cf280] [c0000000000bb5d8] .__might_sleep+0x1a8/0x270
      [c0000000f47cf310] [c0000000000440cc] .map_and_flush+0x4c/0xc0
      [c0000000f47cf390] [c0000000000441cc] .mpc85xx_smp_machine_kexec+0x8c/0xec0
      [c0000000f47cf420] [c00000000002ae00] .machine_kexec+0x60/0x90
      [c0000000f47cf4b0] [c00000000010957c] .crash_kexec+0x8c/0x100
      [c0000000f47cf6a0] [c000000000015df8] .die+0x348/0x450
      [c0000000f47cf740] [c00000000002f3a0] .bad_page_fault+0xe0/0x130
      [c0000000f47cf7c0] [c00000000001f3e4] storage_fault_common+0x40/0x44
      Signed-off-by: NYanjiang Jin <yanjiang.jin@windriver.com>
      [scottwood@freescale.com: fix subject line]
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      88b7936d
  7. 24 3月, 2015 3 次提交
  8. 07 3月, 2015 1 次提交
  9. 30 1月, 2015 1 次提交
    • A
      powerpc/85xx: Add support for Emerson/Artesyn MVME2500. · 2727ed54
      Alessio Igor Bogani 提交于
      Add support for the Artesyn MVME2500 Single Board Computer.
      
      The MVME2500 is a 6U form factor VME64 computer with:
      
      	- A single Freescale QorIQ P2010 CPU
      	- 1 GB of DDR3 onboard memory
      	- Three Gigabit Ethernets
      	- Five 16550 compatible UARTS
      	- One USB 2.0 port, one SHDC socket and one SATA connector
      	- One PCI/PCI eXpress Mezzanine Card (PMC/XMC) Slot
      	- MultiProcessor Interrupt Controller (MPIC)
      	- A DS1375T Real Time Clock (RTC) and 512 KB of Non-Volatile Memory
      	- Two 64 KB EEPROMs
      	- U-Boot in 16 SPI Flash
      
      This patch is based on linux-3.18 and has been boot tested.
      Signed-off-by: NAlessio Igor Bogani <alessio.bogani@elettra.eu>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      2727ed54
  10. 03 11月, 2014 1 次提交
    • A
      powerpc: Convert power off logic to pm_power_off · 9178ba29
      Alexander Graf 提交于
      The generic Linux framework to power off the machine is a function pointer
      called pm_power_off. The trick about this pointer is that device drivers can
      potentially implement it rather than board files.
      
      Today on powerpc we set pm_power_off to invoke our generic full machine power
      off logic which then calls ppc_md.power_off to invoke machine specific power
      off.
      
      However, when we want to add a power off GPIO via the "gpio-poweroff" driver,
      this card house falls apart. That driver only registers itself if pm_power_off
      is NULL to ensure it doesn't override board specific logic. However, since we
      always set pm_power_off to the generic power off logic (which will just not
      power off the machine if no ppc_md.power_off call is implemented), we can't
      implement power off via the generic GPIO power off driver.
      
      To fix this up, let's get rid of the ppc_md.power_off logic and just always use
      pm_power_off as was intended. Then individual drivers such as the GPIO power off
      driver can implement power off logic via that function pointer.
      
      With this patch set applied and a few patches on top of QEMU that implement a
      power off GPIO on the virt e500 machine, I can successfully turn off my virtual
      machine after halt.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      [mpe: Squash into one patch and update changelog based on cover letter]
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      9178ba29
  11. 20 10月, 2014 1 次提交
  12. 25 9月, 2014 1 次提交
  13. 10 9月, 2014 2 次提交
    • P
      powerpc/fsl-booke: Add initial T1042RDB_PI board support · 667680f6
      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 only
      
      T1042RDB_PI board Overview
      -----------------------
      - SERDES Connections, 8 lanes supporting:
          	- PCI
          	- SATA 2.0
      - DDR Controller
          	- Supports rates of up to 1600 MHz data-rate
          	- Supports one DDR3LP UDIMM
      -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
          	- Device connected: EEPROM, thermal monitor, VID controller, RTC
      - Other IO
          	- Two Serial ports
          	- ProfiBus port
      
      Add support for T1042RDB_PI board:
          -add device tree
          -Add entry in corenet_generic.c, as it is similar to other corenet platforms
      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>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      667680f6
    • P
      powerpc/fsl-booke: Add initial T1040/T1042 RDB board support · 0babcd1c
      Priyanka Jain 提交于
      T1040/T1042RDB is Freescale Reference Design Board.
      The board can support both T1040/T1042 QorIQ Power Architecture™ processor.
      
      T1040/T1042RDB board Overview
      -----------------------
      - SERDES Connections, 8 lanes supporting:
      	- PCI
      	- SGMII
          	- QSGMII
          	- SATA 2.0
      - DDR Controller
          	- Supports rates of up to 1600 MHz data-rate
          	- Supports one DDR3LP UDIMM
      -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
      
      Add support for T1040/T1042 RDB board:
          -add device tree
          -add entry in Kconfig to build
          -Add entry in corenet_generic.c, as it is similar to other corenet platforms
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      0babcd1c
  14. 04 9月, 2014 1 次提交
  15. 31 7月, 2014 1 次提交
    • S
      powerpc/t2080rdb: Add T2080RDB board support · 78eb9094
      Shengzhou Liu 提交于
      T2080PCIe-RDB is a Freescale Reference Design Board that hosts T2080 SoC.
      The board feature overview:
      Processor:
       - T2080 SoC integrating four 64-bit dual-threads e6500 cores up to 1.8GHz
      DDR Memory:
       - Single memory controller capable of supporting DDR3 and DDR3-LP devices
       - 72bit 4GB DDR3-LP SODIMM in slot
      Ethernet interfaces:
       - Two 1Gbps RGMII ports on-board
       - Two 10Gbps SFP+ ports on-board
       - Two 10Gbps Base-T ports on-board
      Accelerator:
       - DPAA components consist of FMan, BMan, QMan, PME, DCE and SEC
      IFC/Local Bus
       - NOR:  128MB 16-bit NOR flash
       - NAND: 1GB 8-bit NAND flash
       - CPLD: for system controlling with programable header on-board
      eSPI:
       - 64MB N25Q512 SPI flash
      USB:
       - Two USB2.0 ports with internal PHY (both Type-A)
      PCIe:
       - One PCIe x4 goldfinger(support SR-IOV)
       - One PCIe x4 slot
       - One PCIe x2 end-point device (C293 crypto co-processor)
      SATA:
       - Two SATA 2.0 ports on-board
      SDHC:
       - support a MicroSD/TF card on-board
      I2C:
       - Four I2C controllers.
      UART:
       - Dual 4-pins UART serial ports
      Signed-off-by: NShengzhou Liu <Shengzhou.Liu@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      78eb9094
  16. 30 7月, 2014 1 次提交
    • A
      powerpc/e6500: Add support for hardware threads · e16c8765
      Andy Fleming 提交于
      The general idea is that each core will release all of its
      threads into the secondary thread startup code, which will
      eventually wait in the secondary core holding area, for the
      appropriate bit in the PACA to be set. The kick_cpu function
      pointer will set that bit in the PACA, and thus "release"
      the core/thread to boot. We also need to do a few things that
      U-Boot normally does for CPUs (like enable branch prediction).
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      [scottwood@freescale.com: various changes, including only enabling
       threads if Linux wants to kick them]
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      e16c8765
  17. 03 7月, 2014 2 次提交
    • L
      powerpc/85xx: drop hypervisor specific board compatibles · cd115477
      Laurentiu TUDOR 提交于
      They're almost a duplicate of the boards array
      and we can build them at run-time.
      Signed-off-by: NLaurentiu Tudor <Laurentiu.Tudor@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      cd115477
    • S
      powerpc/fsl-booke: Add initial T208x QDS board support · 4c18be2b
      Shengzhou Liu 提交于
      Add support for Freescale T2080/T2081 QDS Development System Board.
      
      The T2080QDS Development System is a high-performance computing,
      evaluation, and development platform that supports T2080 QorIQ
      Power Architecture processor, with following major features:
      
      T2080QDS feature overview:
      Processor:
       - T2080 SoC integrating four 64-bit dual-threads e6500 cores up to 1.8GHz
      Memory:
       - Single memory controller capable of supporting DDR3 and DDR3-LP
       - Dual DIMM slots up 2133MT/s with ECC
      Ethernet interfaces:
       - Two 1Gbps RGMII on-board ports
       - Four 10Gbps XFI on-board cages
       - 1Gbps/2.5Gbps SGMII Riser card
       - 10Gbps XAUI Riser card
      Accelerator:
       - DPAA components consist of FMan, BMan, QMan, PME, DCE and SEC
      SerDes:
       - 16 lanes up to 10.3125GHz
       - Supports Aurora debug, PEX, SATA, SGMII, sRIO, HiGig, XFI and XAUI
      IFC:
       - 128MB NOR Flash, 512MB NAND Flash, PromJet debug port and FPGA
      eSPI:
       - Three SPI flash (16MB N25Q128A + 8MB EN25S64 + 512KB SST25WF040)
      USB:
       - Two USB2.0 ports with internal PHY (one Type-A + one micro Type-AB)
      PCIE:
       - Four PCI Express controllers (two PCIe 2.0 and two PCIe 3.0, SR-IOV)
      SATA:
       - Two SATA 2.0 ports on-board
      SRIO:
       - Two Serial RapidIO 2.0 ports up to 5 GHz
      eSDHC:
       - Supports SD/MMC/eMMC Card
      DMA:
       - Three 8-channels DMA controllers
      I2C:
       - Four I2C controllers.
      UART:
       - Dual 4-pins UART serial ports
      System Logic:
       - QIXIS-II FPGA system controll
      
      T2081QDS board shares the same PCB with T1040QDS with some differences.
      Signed-off-by: NShengzhou Liu <Shengzhou.Liu@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      4c18be2b
  18. 26 6月, 2014 1 次提交
  19. 23 5月, 2014 5 次提交
    • H
      powerpc/mpc85xx: Add BSC9132 QDS Support · 1be62c6c
      harninder rai 提交于
      - BSC9132 is an integrated device that targets Femto base station market.
        It combines Power Architecture e500v2 and DSP StarCore SC3850 technologies
        with MAPLE-B2F baseband acceleration processing elements
      
      - BSC9132QDS Overview
           2Gbyte DDR3 (on board DDR)
           32Mbyte 16bit NOR flash
           128Mbyte 2K page size NAND Flash
           256 Kbit M24256 I2C EEPROM
           128 Mbit SPI Flash memory
           SD slot
           eTSEC1: Connected to SGMII PHY
           eTSEC2: Connected to SGMII PHY
           DUART interface: supports one UARTs up to 115200 bps for console display
      Signed-off-by: NHarninder Rai <harninder.rai@freescale.com>
      Signed-off-by: NRuchika Gupta <ruchika.gupta@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      1be62c6c
    • L
      powerpc/mpc85xx: Remove P1023 RDS support · fd7e5b7a
      Lijun Pan 提交于
      P1023RDS is no longer supported/manufactured by Freescale while P1023RDB is.
      Signed-off-by: NLijun Pan <Lijun.Pan@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      fd7e5b7a
    • P
      powerpc/fsl-booke: Add initial T104x_QDS board support · 0c0fc4d3
      Prabhakar Kushwaha 提交于
      Add support for T104x board in board file t104x_qds.c, It is common for
       both T1040 and T1042 as they share same QDS board.
      
       T1040QDS board Overview
       -----------------------
       - SERDES Connections, 8 lanes supporting:
            — PCI Express: supporting Gen 1 and Gen 2;
            — SGMII
            — QSGMII
            — SATA 2.0
            — Aurora debug with dedicated connectors (T1040 only)
       - DDR Controller
           - Supports rates of up to 1600 MHz data-rate
           - Supports one DDR3LP UDIMM/RDIMMs, of single-, dual- or quad-rank types.
       -IFC/Local Bus
           - NAND flash: 8-bit, async, up to 2GB.
           - NOR: 8-bit or 16-bit, non-multiplexed, up to 512MB
           - GASIC: Simple (minimal) target within Qixis FPGA
           - PromJET rapid memory download support
       - Ethernet
           - Two on-board RGMII 10/100/1G ethernet ports.
           - PHY #0 remains powered up during deep-sleep (T1040 only)
       - QIXIS System Logic FPGA
       - Clocks
           - System and DDR clock (SYSCLK, “DDRCLK”)
           - SERDES clocks
       - Power Supplies
       - Video
           - DIU supports video at up to 1280x1024x32bpp
       - USB
           - Supports two USB 2.0 ports with integrated PHYs
           — Two type A ports with 5V@1.5A per port.
           — Second port can be converted to OTG mini-AB
       - SDHC
           - SDHC port connects directly to an adapter card slot, featuring:
           - Supporting SD slots for: SD, SDHC (1x, 4x, 8x) and/or MMC
           — Supporting eMMC memory devices
       - SPI
          -  On-board support of 3 different devices and sizes
       - Other IO
          - Two Serial ports
          - ProfiBus port
          - Four I2C ports
      
      Add T104xQDS support in Kconfig and Makefile. Also create device tree.
      Following features are currently not implmented.
        - SerDes: Aurora
        - IFC: GASIC, Promjet
        - QIXIS
        - Ethernet
        - DIU
        - power supplies management
        - ProfiBus
      Signed-off-by: NPriyanka Jain <Priyanka.Jain@freescale.com>
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      0c0fc4d3
    • M
      powerpc/85xx: Add OCA4080 board support · 2b09c603
      Martijn de Gouw 提交于
      OCA4080 overview:
      - 1.466 GHz Freescale QorIQ P4080E Processor
      - 4Gbyte DDR3 on board
      - 8Mbyte Nor flash
      - Serial RapidIO 1.2
      - 1 x 10/100/1000 BASE-T front ethernet
      - 1 x 1000 BASE-BX ethernet on AMC connector
      Signed-off-by: NMartijn de Gouw <martijn.de.gouw@prodrive.nl>
      [scottwood@freescale.com: minor conflict-related changes]
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      2b09c603
    • V
      powerpc/mpc85xx: add support for Keymile's kmcoge4 board · 497c8b60
      Valentin Longchamp 提交于
      This patch introduces the support for Keymile's kmcoge4 board which is
      the internal reference design for boards based on Freescale's
      P2040/P2041 SoCs. This internal reference design is named kmp204x.
      
      The peripherals used on this board are:
      - SPI NOR Flash as bootloader medium
      - NAND Flash with a ubi partition
      - 2 PCIe busses (hosts 1 and 3)
      - 3 FMAN Ethernet devices (FMAN1 DTSEC1/2/5)
      - 4 Local Bus windows, with one dedicated to the QRIO reset/power mgmt
        CPLD
      - 2 I2C busses
      - last but not least, the mandatory serial port
      
      The patch also adds a defconfig file for this reference design that is
      necessary because of the lowmem option that must be set higher due to
      the number of PCIe devices with big ioremapped mem ranges on the boad.
      Signed-off-by: NValentin Longchamp <valentin.longchamp@keymile.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      497c8b60
  20. 23 4月, 2014 1 次提交
  21. 20 3月, 2014 3 次提交
    • W
      fsl/pci: The new pci suspend/resume implementation · 48b16180
      Wang Dongsheng 提交于
      If we do nothing in suspend/resume, some platform PCIe ip-block
      can't guarantee the link back to L0 state from sleep, then, when
      we read the EP device will hang. Only we send pme turnoff message
      in pci controller suspend, and send pme exit message in resume, the
      link state will be normal.
      
      When we send pme turnoff message in pci controller suspend, the
      links will into l2/l3 ready, then, host cannot communicate with
      ep device, but pci-driver will call back EP device to save them
      state. So we need to change platform_driver->suspend/resume to
      syscore->suspend/resume.
      
      So the new suspend/resume implementation, send pme turnoff message
      in suspend, and send pme exit message in resume. And add a PME handler,
      to response PME & message interrupt.
      
      Change platform_driver->suspend/resume to syscore->suspend/resume.
      pci-driver will call back EP device, to save EP state in
      pci_pm_suspend_noirq, so we need to keep the link, until
      pci_pm_suspend_noirq finish.
      Signed-off-by: NWang Dongsheng <dongsheng.wang@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      48b16180
    • Z
      Corenet: Add QE platform support for Corenet · 0f5a8696
      Zhao Qiang 提交于
      There is QE on platform T104x, add support.
      Call funcs qe_ic_init and qe_init if CONFIG_QUICC_ENGINE is defined.
      Signed-off-by: NZhao Qiang <B45475@freescale.com>
      [scottwood@freesacle.com: whitespace fix]
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      0f5a8696
    • Z
      QE: split function mpc85xx_qe_init() into two functions. · 706f4aa0
      Zhao Qiang 提交于
      New QE doesn't have par_io, it doesn't need to init par_io
      for new QE.
      Split function mpc85xx_qe_init() into mpc85xx_qe_init()
      and mpc85xx_qe_par_io_init().
      Call mpc85xx_qe_init() for both new and old while
      mpc85xx_qe_par_io_init() after mpc85xx_qe_init() for old.
      Signed-off-by: NZhao Qiang <B45475@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      706f4aa0