Skip to content
Snippets Groups Projects
  1. Nov 25, 2013
  2. Nov 22, 2013
  3. Nov 17, 2013
  4. Nov 15, 2013
  5. Nov 14, 2013
  6. Nov 13, 2013
    • Laurentiu TUDOR's avatar
      powerpc/85xx: fix broken cpu "clock-frequency" property · 51abee64
      Laurentiu TUDOR authored
      
      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: default avatarLaurentiu Tudor <Laurentiu.Tudor@freescale.com>
      Cc: York Sun <yorksun@freescale.com>
      51abee64
    • Laurentiu TUDOR's avatar
      powerpc/t4240: fix per pci endpoint liodn offsets · 8f9fe660
      Laurentiu TUDOR authored
      
      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: default avatarLaurentiu Tudor <Laurentiu.Tudor@freescale.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: York Sun <yorksun@freescale.com>
      8f9fe660
    • Laurentiu TUDOR's avatar
      powerpc/t4240: set pcie liodn in the correct register · b4125a23
      Laurentiu TUDOR authored
      
      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: default avatarLaurentiu Tudor <Laurentiu.Tudor@freescale.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: York Sun <yorksun@freescale.com>
      b4125a23
Loading