1. 23 2月, 2012 1 次提交
    • K
      powerpc/mpic: Remove MPIC_BROKEN_FRR_NIRQS and duplicate irq_count · 5019609f
      Kyle Moffett 提交于
      The mpic->irq_count variable is only used as a software error-checking
      limit to determine whether or not an IRQ number is valid.  In board code
      which does not manually specify an IRQ count to mpic_alloc(), i.e. 0, it
      is automatically detected from the number of ISUs and the ISU size.
      
      In practice, all hardware ends up with irq_count == num_sources, so all
      of the runtime checks on mpic->irq_count should just check the value of
      mpic->num_sources instead.
      
      When platform hardware does not correctly report the number of IRQs,
      which only happens on the MPC85xx/MPC86xx, the MPIC_BROKEN_FRR_NIRQS
      flag is used to override the detected value of num_sources with the
      manual irq_count parameter.  Since there's no need to manually specify
      the number of IRQs except in this case, the extra flag can be eliminated
      and the test changed to "irq_count != 0".
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      5019609f
  2. 07 12月, 2011 4 次提交
  3. 24 11月, 2011 2 次提交
  4. 22 7月, 2011 1 次提交
    • F
      powerpc/85xx: fix mpic configuration in CAMP mode · a63e23b9
      Fabio Baltieri 提交于
      Change the string to check for CAMP mode boot on MPC85xx (eg. P2020) to match
      the one in the corresponding dts files (p2020rdb_camp_core{0,1}.dts).
      
      Without this fix the mpic is configured as in the SMP boot mode, which causes
      the first core to report a protected source interrupt error for devices
      of the other core and lock up.
      
      Also add MPIC_SINGLE_DEST_CPU on both P2020 based architectures in CAMP
      mode as suggested by Scott Wood. Thanks.
      
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Poonam Aggrwal <poonam.aggrwal@freescale.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NFabio Baltieri <fabio.baltieri@gmail.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      a63e23b9
  5. 12 11月, 2009 2 次提交
  6. 25 8月, 2009 1 次提交
    • P
      powerpc/85xx: Add support for P2020RDB board · fb8e3e1f
      Poonam Aggrwal 提交于
      Add support for the P2020RDB reference board from Freescale.
      
      Overview of P2020RDB platform
      	- DDR
      	  DDR2 1G
      	- NOR Flash
      	  16MByte
      	- NAND Flash
      	  32MByte
      	- 3 Ethernet interfaces
      	  1) etSEC1
      		- RGMII
      		- connected to a 5 port Vitesse Switch(VSC7385)
      		- Switch is memory mapped through eLBC interface(CS#2)
      		- IRQ1
      	  2) etSEC2
      		- SGMII
      		- connected to VSC8221
      		- IRQ2
      	  3) etSEC3
      		- RGMII
      		- connected to VSC8641
      		- IRQ3
      	- 2 1X PCIe interfaces
      	- SD/MMC ,USB
      	- SPI EEPROM
      	- Serial I2C EEPROM
      Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      fb8e3e1f
  7. 16 6月, 2009 1 次提交
  8. 24 3月, 2009 1 次提交
  9. 30 7月, 2008 1 次提交
  10. 14 7月, 2008 2 次提交