1. 25 Mar, 2013 11 commits
  2. 24 Mar, 2013 18 commits
  3. 22 Mar, 2013 9 commits
  4. 20 Mar, 2013 2 commits
    • Stephen Warren's avatar
      ARM: rpi_b: enable SD controller, add related env/cmds · 131a1e60
      Stephen Warren authored
      
      
      Enable the SD controller driver for the Raspberry Pi. Enable a number
      of useful MMC, partition, and filesystem-related commands. Set up the
      environment to provide standard locations for loading a kernel, DTB,
      etc. Provide a boot command that loads and executes boot.scr.uimg from
      the SD card; this is written considering future extensibilty to USB
      storage.
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      131a1e60
    • Stephen Warren's avatar
      mmc: add bcm2835 driver · 9a4fbe4f
      Stephen Warren authored
      This adds a simple driver for the BCM2835's SD controller.
      
      Workarounds are implemented for:
      * Register writes can't be too close to each-other in time, or they will
        be lost.
      * Register accesses must all be 32-bit, so implement custom accessors.
      
      This code was extracted from:
      git://github.com/gonzoua/u-boot-pi.git master
      which was created by Oleksandr Tymoshenko.
      
      Portions of the code there were obviously based on the Linux kernel at:
      git://github.com/raspberrypi/linux.git
      
       rpi-3.6.y
      commit f5b930b "Main bcm2708 linux port" signed-off-by Dom Cobley.
      
      swarren changed the following for upstream:
      * Removed hack udelay()s in bcm2835_sdhci_raw_writel(); setting
        SDHCI_QUIRK_WAIT_SEND_CMD appears to solve the issues.
      * Remove register logging from read*/write* functions.
      * Sort out confusion with min/max_freq values passed to add_sdhci().
      * Use more descriptive variable names and calculations in IO accessors.
      * Simplified and commented twoticks_delay calculation.
      * checkpatch fixes.
      
      Cc: Andy Fleming <afleming@gmail.com>
      Signed-off-by: default avatarOleksandr Tymoshenko <gonzo@bluezbox.com>
      Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      Acked-by: default avatarAndy Fleming <afleming@gmail.com>
      9a4fbe4f