Skip to content
Snippets Groups Projects
  1. Jan 14, 2011
  2. Nov 30, 2010
    • Kumar Gala's avatar
      hwconfig: Fix dummy initialization of {board, cpu}_hwconfig · b194577b
      Kumar Gala authored
      
      Since board_hwconfig & cpu_hwconfig are defined as weak and dont have a
      default value they will get put into the BSS if they aren't defined
      elsewhere.  This is problematic as we try to utilize hwconfig before
      we've relocated and thus BSS isn't setup.
      
      Instead of giving dummy values in the board files that utilize this
      feature, we can just initialize the variables to an empty string and
      thus move them out of the BSS if they aren't defined elsewhere.
      
      Also made board_hwconfig & cpu_hwconfig arrays to reduce size associated
      with string pointers vs arrays.
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      b194577b
  3. Nov 14, 2010
    • Peter Tyser's avatar
      fsl: Clean up printing of PCI boot info · 8ca78f2c
      Peter Tyser authored
      
      Previously boards used a variety of indentations, newline styles, and
      colon styles for the PCI information that is printed on bootup.  This
      patch unifies the style to look like:
      
      ...
      NAND:  1024 MiB
      PCIE1: connected as Root Complex
                 Scanning PCI bus 01
              04  01  8086  1010  0200  00
              04  01  8086  1010  0200  00
              03  00  10b5  8112  0604  00
              02  01  10b5  8518  0604  00
              02  02  10b5  8518  0604  00
              08  00  1957  0040  0b20  00
              07  00  10b5  8518  0604  00
              09  00  10b5  8112  0604  00
              07  01  10b5  8518  0604  00
              07  02  10b5  8518  0604  00
              06  00  10b5  8518  0604  00
              02  03  10b5  8518  0604  00
              01  00  10b5  8518  0604  00
      PCIE1: Bus 00 - 0b
      PCIE2: connected as Root Complex
                 Scanning PCI bus 0d
              0d  00  1957  0040  0b20  00
      PCIE2: Bus 0c - 0d
      In:    serial
      ...
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      CC: wd@denx.de
      CC: sr@denx.de
      CC: galak@kernel.crashing.org
      8ca78f2c
  4. Oct 20, 2010
  5. Jul 26, 2010
  6. Jul 20, 2010
  7. Apr 07, 2010
    • Timur Tabi's avatar
      fsl: improve the PIXIS code and fix a few bugs · 2feb4af0
      Timur Tabi authored
      
      Refactor and document the Freescale PIXIS code, used on most 85xx and 86xx
      boards.  This makes the code easier to read and more flexible.
      
      Delete pixis.h, because none of the exported functions were actually being
      used by any other file.  Make all of the functions in pixis.c 'static'.
      Remove "#include pixis.h" from every file that has it.
      
      Remove some unnecessary #includes.
      
      Make 'pixis_base' into a macro, so that we don't need to define it in every
      function.
      
      Add "while(1);" loops at the end of functions that reset the board, so that
      execution doesn't continue while the reset is in progress.
      
      Replace in_8/out_8 calls with clrbits_8, setbits_8, or clrsetbits_8, where
      appropriate.
      
      Replace ulong/uint with their spelled-out equivalents.  Remove unnecessary
      typecasts, changing the types of some variables if necessary.
      
      Add CONFIG_SYS_PIXIS_VCFGEN0_ENABLE and CONFIG_SYS_PIXIS_VBOOT_ENABLE to make
      it easier for specific boards to support variations in the PIXIS registers
      sets.  No current boards appears to need this feature.
      
      Fix the definition of CONFIG_SYS_PIXIS_VBOOT_MASK for the MPC8610 HPCD.
      Apparently, "pixis_reset altbank" has never worked on this board.
      
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      2feb4af0
  8. Mar 30, 2010
    • 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>
      9ff32d8c
  9. Nov 05, 2009
  10. Oct 03, 2009
  11. Sep 08, 2009
  12. Aug 28, 2009
  13. Jul 22, 2009
  14. Apr 04, 2009
  15. Apr 01, 2009
    • Kumar Gala's avatar
      86xx: Cleanup MP support · 7649a590
      Kumar Gala authored
      
      * Use CONFIG_MP instead of CONFIG_NUM_CPUS to match 85xx
      * Introduce determine_mp_bootpg() helper.  We'll need this to address a
        bug introduced in v2009.03 with 86xx MP booting.  We have to make sure
        to reserve the region of memory used for the MP bootpg() so other
        u-boot code doesn't use it.
      * Added dummy versions of cpu_reset(), cpu_status() & cpu_release() to
        allow cmd_mp.c to build and work. In the future we should look at
        implementing all these functions. This could be common w/85xx if we
        use spin tables on 86xx.
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      7649a590
    • Becky Bruce's avatar
      mpc8641hpcn/sbc8641d: Add missing board_lmb_reserves · f6ef8b7a
      Becky Bruce authored
      
      We're missing the board_lmb_reserve definitions that allow
      cpu_mp_lmb_reserve to be called; this means that Linux
      is free to reallocate reserved pages.  Linux currently boots
      because we're getting lucky - the page we've reserved is
      high enough in memory that it isn't allocated by Linux
      while we still need it to be in existence.
      
      Signed-off-by: default avatarBecky Bruce <beckyb@kernel.crashing.org>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      f6ef8b7a
  16. Feb 23, 2009
  17. Feb 17, 2009
    • Peter Tyser's avatar
      86xx: Reset update · 4ef630df
      Peter Tyser authored
      
      Update the 86xx reset sequence to try executing a board-specific reset
      function.  If the board-specific reset is not implemented or does not
      succeed, then assert #HRESET_REQ.  Using #HRESET_REQ is a more standard
      reset procedure than the previous method and allows all board
      peripherals to be reset if needed.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      4ef630df
  18. Feb 09, 2009
  19. Nov 11, 2008
  20. Nov 10, 2008
    • Becky Bruce's avatar
      mpc8641: Try to detect old .dts files · d52082b1
      Becky Bruce authored
      
      Since we've changed the memory map of the board, be nice and
      add some checking to try to catch out-of-date .dts files.  We do
      this by checking the CCSRBAR location in the .dts and comparing
      it to the CCSRBAR location in u-boot.  If they don't match, a
      warning msg is printed.  This isn't foolproof, but it's simple and
      will catch most of the cases where an out-of-date .dts is present,
      including all of the cases where a new u-boot is used with an old
      standard MPC8641 .dts file as supplied with Linux.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      d52082b1
  21. Nov 03, 2008
  22. Nov 02, 2008
  23. Oct 30, 2008
  24. Oct 24, 2008
  25. Oct 18, 2008
  26. Sep 03, 2008
  27. Aug 27, 2008
  28. Jul 10, 2008
  29. Jun 19, 2008
Loading