Skip to content
Snippets Groups Projects
  1. May 02, 2016
  2. Feb 17, 2015
  3. Jul 24, 2013
  4. Sep 13, 2012
  5. May 18, 2011
  6. Sep 03, 2010
    • Haavard Skinnemoen's avatar
      avr32: Add simple paging support · 1f36f73f
      Haavard Skinnemoen authored
      
      Use the MMU hardware to set up 1:1 mappings between physical and virtual
      addresses. This allows us to bypass the cache when accessing the flash
      without having to do any physical-to-virtual address mapping in the CFI
      driver.
      
      The virtual memory mappings are defined at compile time through a sorted
      array of virtual memory range objects. When a TLB miss exception
      happens, the exception handler does a binary search through the array
      until it finds a matching entry and loads it into the TLB. The u-boot
      image itself is covered by a fixed TLB entry which is never replaced.
      
      This makes the 'saveenv' command work again on ATNGW100 and other boards
      using the CFI driver, hopefully without breaking any rules.
      
      Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      1f36f73f
    • Haavard Skinnemoen's avatar
      avr32: Use uncached() macro to get an address for SDRAM init · 9cec2fc2
      Haavard Skinnemoen authored
      
      The paging system which is required to set up caching properties has not
      yet been initialized when the SDRAM is initialized. So when the
      map_physmem() function is converted to return the physical address
      unchanged, the SDRAM initialization will break on some boards.
      
      The avr32-specific uncached() macro will return an address which will
      always cause uncached accessed to be made. Since this happens in the
      board code, using avr32-specific features should be ok, and will allow
      the SDRAM initialization to keep working.
      
      Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      9cec2fc2
  7. Sep 03, 2008
  8. Sep 01, 2008
    • Haavard Skinnemoen's avatar
      avr32: use board_early_init_r instead of board_init_info · 25e6854d
      Haavard Skinnemoen authored
      
      Replace the avr32-specific board_init_info hook by the standard
      board_early_init_r hook and make it optional.
      
      board_early_init_r() runs somewhat earlier than board_init_info used to
      do, but this isn't a problem for any of the in-tree boards.
      
      Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      25e6854d
    • Haavard Skinnemoen's avatar
      avr32: refactor the portmux/gpio code · ab0df36f
      Haavard Skinnemoen authored
      
        - Separate the portmux configuration functionality from the GPIO pin
          control API.
        - Separate the controller-specific code from the chip-specific code.
        - Allow "ganged" port configuration (multiple pins at once).
        - Add more flexibility to the "canned" peripheral select functions:
            - Allow using more than 23 address bits, more chip selects, as
      	well as NAND- and CF-specific pins.
            - Make the MACB SPEED pin optional, and choose between MII/RMII
      	using a parameter instead of an #ifdef.
            - Make it possible to use other MMC slots than slot 0, and support
      	different MMC/SDCard data bus widths.
        - Use more reasonable pull-up defaults; floating pins may consume a
          lot of power.
        - Get rid of some custom portmux code from the mimc200 board code. The
          old gpio/portmux API couldn't really handle its requirements, but
          the new one can.
        - Add documentation.
      
      The end result is slightly smaller code for all boards. Which isn't
      really the point, but at least it isn't any larger.
      
      This has been verified on ATSTK1002 and ATNGW100. I'd appreciate if
      the board maintainers could help me test this on their boards. In
      particular, the mimc200 port has lost a lot of code, so I'm hoping Mark
      can help me out.
      
      Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
      Cc: Mark Jackson <mpfj@mimc.co.uk>
      Cc: Alex Raimondi <alex.raimondi@miromico.ch>
      Cc: Julien May <julien.may@miromico.ch>
      
      Changes since v1:
        * Enable pullup on NWAIT
        * Add missing include to portmux-pio.h
        * Rename CONFIG_PIO2 -> CONFIG_PORTMUX_PIO to match docs
      ab0df36f
  9. Aug 06, 2008
  10. Jul 24, 2008
  11. Jul 23, 2008
  12. Jun 20, 2008
  13. Jun 12, 2008
    • Becky Bruce's avatar
      Change initdram() return type to phys_size_t · 9973e3c6
      Becky Bruce authored
      
      This patch changes the return type of initdram() from long int to phys_size_t.
      This is required for a couple of reasons: long int limits the amount of dram
      to 2GB, and u-boot in general is moving over to phys_size_t to represent the
      size of physical memory.  phys_size_t is defined as an unsigned long on almost
      all current platforms.
      
      This patch *only* changes the return type of the initdram function (in
      include/common.h, as well as in each board's implementation of initdram).  It
      does not actually modify the code inside the function on any of the platforms;
      platforms which wish to support more than 2GB of DRAM will need to modify
      their initdram() function code.
      
      Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
      MPC8641HPCN.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      9973e3c6
  14. May 27, 2008
    • Haavard Skinnemoen's avatar
      avr32: Rework SDRAM initialization code · a23e277c
      Haavard Skinnemoen authored
      
      This cleans up the SDRAM initialization and related code a bit, and
      allows faster booting.
      
        * Add definitions for EBI and internal SRAM to asm/arch/memory-map.h
        * Remove memory test from sdram_init() and make caller responsible
          for verifying the SDRAM and determining its size.
        * Remove base_address member from struct sdram_config (was sdram_info)
        * Add data_bits member to struct sdram_config and kill CFG_SDRAM_16BIT
        * Add support for a common STK1000 hack: 16MB SDRAM instead of 8.
      
      Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      a23e277c
    • Haavard Skinnemoen's avatar
      avr32: Clean up the HMATRIX code · 44453b25
      Haavard Skinnemoen authored
      
      Rework the HMATRIX configuration interface so that it becomes easier
      to configure the HMATRIX for boards with special needs, and add new
      parts.
      
      The HMATRIX header file has been split into a general,
      chip-independent part with register definitions, etc. and a
      chip-specific part with SFR bitfield definitions and master/slave
      identifiers.
      
      Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      44453b25
  15. Feb 05, 2008
    • Haavard Skinnemoen's avatar
      AVR32: Make SDRAM refresh rate configurable · d38da537
      Haavard Skinnemoen authored
      
      The existing code assumes the SDRAM row refresh period should always
      be 15.6 us. This is not always true, and indeed on the ATNGW100, the
      refresh rate should really be 7.81 us.
      
      Add a refresh_period member to struct sdram_info and initialize it
      properly for both ATSTK1000 and ATNGW100. Out-of-tree boards will
      panic() until the refresh_period member is updated properly.
      
      Big thanks to Gerhard Berghofer for pointing out this issue.
      
      Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
      d38da537
  16. Jan 18, 2008
  17. Apr 14, 2007
  18. Oct 24, 2006
  19. Mar 31, 2006
  20. Dec 16, 2004
  21. Feb 12, 2004
    • Wolfgang Denk's avatar
      * Some code cleanup · bf9e3b38
      Wolfgang Denk authored
      * Patch by Josef Baumgartner, 10 Feb 2004:
        Fixes for Coldfire port
      
      * Patch by Brad Kemp, 11 Feb 2004:
        Fix CFI flash driver problems
      bf9e3b38
  22. Dec 08, 2003
  23. Nov 07, 2003
  24. Oct 29, 2003
    • Wolfgang Denk's avatar
      * Prepare for release · 5fa66df6
      Wolfgang Denk authored
      * Fix problems in memory test on some boards (which was not
        non-destructive as intended)
      
      * Patch by Gary Jennejohn, 28 Oct 2003:
        Change fs/fat/fat.c to put I/O buffers in BSS instead on the stack
        to prevent stack overflow on ARM systems
      5fa66df6
  25. Sep 11, 2003
    • Wolfgang Denk's avatar
      * Patch by Gary Jennejohn, 11 Sep 2003: · a43278a4
      Wolfgang Denk authored
        - allow for longer timeouts for USB mass storage devices
      
      * Patch by Denis Peter, 11 Sep 2003:
        - fix USB data pointer assignment for bulk only transfer.
        - prevent to display erased directories in FAT filesystem.
      
      * Change output format for NAND flash - make it look like for other
        memory, too
      a43278a4
  26. Aug 31, 2003
    • Wolfgang Denk's avatar
      Patch by Yuli Barcohen, 7 Aug 2003: · 326428cc
      Wolfgang Denk authored
      According to the MPC8260 User's Manual, PCI_MODE signal should be
      reflected in SCCR register, and local bus pins configuration is taken
      from HRCW and appears in SIUMCR. For some reason it does not work
      this way, so the only possibility to detect if the board is
      configured in PCI mode is to check the BCSR. This patch sets SCCR and
      SIUMCR according to the BCSR.
      326428cc
  27. Aug 28, 2003
  28. Aug 17, 2003
    • Wolfgang Denk's avatar
      * Make Ethernet autonegotiation on INCA-IP work for all clock rates; · e0ac62d7
      Wolfgang Denk authored
        allow selection of clock frequency as "make" target
      
      * Implement memory autosizing code for IceCube boards
      
      * Configure network port on INCA-IP for autonegotiation
      
      * Fix overflow problem in network timeout code
      
      * Patch by Richard Woodruff, 8 Aug 2003:
        Allow crc32 to be used at address 0x000 (crc32_no_comp, too).
      e0ac62d7
  29. Jul 17, 2003
    • Wolfgang Denk's avatar
      * Patch by Martin Krause, 17 Jul 2003: · 2535d602
      Wolfgang Denk authored
        add delay to get I2C working with "imm" command and s3c24x0_i2c.c
      
      * Patch by Richard Woodruff, 17 July 03:
        - Fixed bug in OMAP1510 baud rate divisor settings.
      
      * Patch by Nye Liu, 16 July 2003:
        MPC860FADS fixes:
        - add MPC86xADS support (uses MPC86xADS.h)
        - add 866P/T core support (also MPC859T/MPC859DSL/MPC852T)
          o PLPRCR changes
          o BRG changes (EXTAL/XTAL restricted to 10MHz)
          o don't trust gclk() software measurement by default, depend on
            CONFIG_8xx_GCLK_FREQ
        - add DRAM SIMM not installed detection
        - use more "correct" SDRAM initialization sequence
        - allow different SDRAM sizes (8xxADS has 8M)
        - default DER is 0
        - remove unused MAMR defines from FADS860T.h (all done in fads.c)
        - rename MAMR/MBMR defines to be more consistent. Should eventually
          be merged into MxMR to better reflect the PowerQUICC datasheet.
      
      * Patch by Yuli Barcohen, 16 Jul 2003:
        support new Motorola PQ2FADS-ZU evaluation board which replaced
        MPC8260ADS and MPC8266ADS
      2535d602
  30. Jul 16, 2003
  31. Jul 14, 2003
    • Wolfgang Denk's avatar
      * Patches by Yuli Barcohen, 13 Jul 2003: · 8564acf9
      Wolfgang Denk authored
        - Correct flash and JFFS2 support for MPC8260ADS
        - fix PVR values and clock generation for PowerQUICC II family
          (8270/8275/8280)
      
      * Patch by Bernhard Kuhn, 08 Jul 2003:
        - add support for M68K targets
      
      * Patch by Ken Chou, 3 Jul:
        - Fix PCI config table for A3000
        - Fix iobase for natsemi.c
          (PCI_BASE_ADDRESS_0 is the IO base register for DP83815)
      
      * Allow to enable "slow" POST routines by key press on power-on
      * Fix temperature dependend switching of LCD backlight on LWMON
      * Tweak output format for LWMON
      8564acf9
  32. Jun 30, 2003
    • Wolfgang Denk's avatar
      * Patch by Seb James, 30 Jun 2003: · b37c7e5e
      Wolfgang Denk authored
        Improve documentation of I2C configuration in README
      
      * Fix problems with previous log buffer "fixes"
      
      * Fix minor help text issues
      
      * "log append" did not append a newline
      b37c7e5e
Loading