1. 17 7月, 2009 7 次提交
    • A
      mpc83xx: MPC837XERDB: Add support for FSL eSDHC · c9646ed7
      Anton Vorontsov 提交于
      This patch adds support for eSDHC on MPC837XERDB boards. The WP
      switch doesn't seem to work on RDB boards though, the WP pin is
      always asserted (can see the pin state when it's in GPIO mode).
      
      FSL DR USB and FSL eSDHC are mutually exclusive because of pins
      multiplexing, so user should specify 'esdhc' or 'dr_usb' options
      in the hwconfig environment variable to choose between the
      devices.
      
      p.s.
      Now we're very close to a monitor len limit (196 bytes left using
      gcc-4.2.0), so also increase the monitor len by one sector (64 KB).
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Acked-by: NKim Phillips <kim.phillips@freescale.com>
      c9646ed7
    • A
      fsl_esdhc: Add device tree fixups · b33433a6
      Anton Vorontsov 提交于
      This patch implements fdt_fixup_esdhc() function that is used to fixup
      the device tree.
      
      The function adds status = "disabled" propery if esdhc pins muxed away,
      otherwise it fixups clock-frequency for esdhc nodes.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Acked-by: NKim Phillips <kim.phillips@freescale.com>
      b33433a6
    • A
      Add simple hwconfig infrastructure · 93f9dcf9
      Anton Vorontsov 提交于
      This patch implements simple hwconfig infrastructure: an
      interface for software knobs to control a hardware.
      
      This is very simple implementation, i.e. it is implemented
      via `hwconfig' environment variable. Later we could write
      some "hwconfig <enable|disable|list>" commands, ncurses
      interface for Award BIOS-like interface, and frame-buffer
      interface for AMI GUI[1] BIOS-like interface with mouse
      support[2].
      
      Current implementation details/limitations:
      
      1. Doesn't support options dependencies and mutual exclusion.
         We can implement this by integrating apt-get[3] into the
         u-boot. But I didn't bother yet.
      
      2. Since we don't implement hwconfig command, i.e. we're working
         with the environement directly, there is no way to tell that
         toggling a particular option will need a reboot to take
         an effect. So, for now it's advised to always reboot the
         target after modifying hwconfig variable.
      
      3. We support hwconfig options with arguments. For example,
      
         set hwconfig dr_usb:mode=peripheral,phy_type=ulpi
      
         That means:
         - dr_usb - enable Dual-Role USB controller;
         - dr_usb:mode=peripheral - USB in Function mode;
         - dr_usb:phy_type=ulpi - USB should work with ULPI PHYs;
      
      The purpose of this simple implementation is to define some
      internal API and then we can continue improving user experience
      by adding more mature interface, like hwconfig command with
      bells and whistles. Or not adding, if we feel that current
      interface fits its needs.
      
      [1] http://en.wikipedia.org/wiki/American_Megatrends
      [2] Regarding ncurses and GUI with mouse support -- I'm just
          kidding.
      [3] The comment regarding apt-get is also a joke, meaning that
          dependency tracking could be non-trivial. For example, for
          enabling HW feature X we may need to disable Y, and turn Z
          into reduced mode (like RMII-only interface for ethernet,
          no MII).
      
          It's quite trivial to implement simple cases though.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Acked-by: NKim Phillips <kim.phillips@freescale.com>
      93f9dcf9
    • W
      cd21a458
    • W
      10faafd5
    • W
      6973fb41
    • J
      Improve U-Boot Porting Guide in the README · 6c3fef28
      Jerry Van Baren 提交于
      Update for...
      * BDI2000 -> BDI3000 (BDI2000 is obsolete).
      * Add a line to read the doc/README.* files
      * Fix coding standard violations
      Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
      6c3fef28
  2. 16 7月, 2009 1 次提交
  3. 15 7月, 2009 4 次提交
  4. 14 7月, 2009 25 次提交
  5. 13 7月, 2009 3 次提交