1. 20 Aug, 2013 1 commit
  2. 09 Oct, 2011 1 commit
  3. 30 Mar, 2010 1 commit
    • Timur Tabi's avatar
      mpc86xx: set the DDR BATs after calculating true DDR size · 9ff32d8c
      Timur Tabi authored
      After determining how much DDR is actually in the system, set DBAT0 and
      IBAT0 accordingly.  This ensures that the CPU won't attempt to access
      (via speculation) addresses outside of actual memory.
      On 86xx systems, DBAT0 and IBAT0 (the BATs for DDR) are initialized to 2GB
      and kept that way.  If the system has less than 2GB of memory (typical for
      an MPC8610 HPCD), the CPU may attempt to access this memory during
      speculation.  The zlib code is notorious for generating such memory reads,
      and indeed on the MPC8610, uncompressing the Linux kernel causes a machine
      check (without this patch).
      Currently we are limited to power of two sized DDR since we only use a
      single bat.  If a non-power of two size is used that is less than
      CONFIG_MAX_MEM_MAPPED u-boot will crash.
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
  4. 09 Feb, 2009 1 commit
    • Becky Bruce's avatar
      powerpc: Move duplicated BAT defines to mmu.h · d35ae5a9
      Becky Bruce authored
      The BAT fields are architected; there's no need for these to be in
      cpu-specific files.  Drop the duplication and move these to
      include/asm-ppc/mmu.h.  Also, remove the BL_xxx defines that were only
      used by the alaska board, and switch to using the BATU_BL_xxx defines
      used by all the other boards.  The BL_ defines previously in use
      had to be shifted into the proper position for use, which was inefficient.
      Signed-off-by: default avatarBecky Bruce <beckyb@kernel.crashing.org>
  5. 20 Dec, 2008 1 commit
    • Trent Piepho's avatar
      mpc8[56]xx: Put localbus clock in sysinfo and gd · ada591d2
      Trent Piepho authored
      Currently MPC85xx and MPC86xx boards just calculate the localbus frequency
      and print it out, but don't save it.
      This changes where its calculated and stored to be more consistent with the
      CPU, CCB, TB, and DDR frequencies and the MPC83xx localbus clock.
      The localbus frequency is added to sysinfo and calculated when sysinfo is
      set up, in cpu/mpc8[56]xx/speed.c, the same as the other frequencies are.
      get_clocks() copies the frequency into the global data, as the other
      frequencies are, into a new field that is only enabled for MPC85xx and
      checkcpu() in cpu/mpc8[56]xx/cpu.c will print out the local bus frequency
      from sysinfo, like the other frequencies, instead of calculating it on the
      Signed-off-by: default avatarTrent Piepho <tpiepho@freescale.com>
      Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
      Acked-by: default avatarJon Loeliger <jdl@freescale.com>
  6. 18 Oct, 2008 1 commit
  7. 10 Jun, 2008 2 commits
  8. 22 Jun, 2007 1 commit
  9. 01 May, 2007 1 commit
  10. 22 Aug, 2006 1 commit
  11. 27 Apr, 2006 1 commit
  12. 26 Apr, 2006 1 commit