1. 16 3月, 2013 7 次提交
  2. 12 3月, 2013 2 次提交
    • S
      ppc: Remove PCIPPC2 and PCIPPC6 boards · 7c9e89bd
      Stefan Roese 提交于
      These boards seem to be unmaintained for quite some time. So lets
      remove support for them completely. This also cleans up some
      common drivers/files.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Guillaume Alexandre <guillaume.alexandre@gespac.ch>
      Acked-by: NWolfgang Denk <wd@denx.de>
      7c9e89bd
    • W
      Feature Removal: disable "mtest" command by default · a2681707
      Wolfgang Denk 提交于
      The "mtest" command is of little practical use (if any), and
      experience has shown that a large number of board configurations
      define useless or even dangerous start and end addresses.  If not even
      the board maintainers are able to figure out which memory range can be
      reliably tested, how can we expect such from the end users?  As this
      problem comes up repeatedly, we rather do not enable this command by
      default, so only people who know what they are doing will be
      confronted with it.
      
      As this changes the user interface, we allow for a grace period
      before this change takes effect. For now, we make "mtest"
      configurable through the CONFIG_CMD_MEMTEST variable, which is defined
      in include/config_cmd_default.h;  we also add an entry to
      doc/feature-removal-schedule.txt which announces the removal of this
      default setting in two releases from now, i. e. with v2013.07.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Tom Rini <trini@ti.com>
      a2681707
  3. 09 3月, 2013 5 次提交
  4. 05 3月, 2013 8 次提交
  5. 04 3月, 2013 2 次提交
  6. 02 3月, 2013 1 次提交
  7. 01 3月, 2013 8 次提交
    • S
      hash: Use lower case for hash algorithm names · 218da0f3
      Simon Glass 提交于
      Rather than use strcasecmp() in the hash algorithm search, require the
      caller to do this first. Most of U-Boot can use lower case anyway, and
      the hash command can convert to lower case before calling hash_command().
      This saves needing strcasecmp() for boards that use hashing but not
      the hash command.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      218da0f3
    • S
      sandbox: config: Enable hash functions and mtest · ecdbf419
      Simon Glass 提交于
      Enable the hash command and sha1/256 hashing for sandbox. Also use a
      better address for memory testing (since the existing one is set up
      for linux host memory space).
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      ecdbf419
    • S
      Roll crc32 into hash infrastructure · d20a40de
      Simon Glass 提交于
      Add the CRC32 algorithm to the list of available hashes, and make
      the crc32 command use hash_command(). Add a new crc32_wd_buf() to
      make this possible, which puts its result in a buffer rather than
      returning it as a 32-bit value.
      
      Note: For some boards the hash command is not enabled, neither
      are sha1, sha256 or the verify option. In this case the full
      hash implementation adds about 500 bytes of overhead. So as a
      special case, we use #ifdef to select very simple bahaviour in
      that case. The justification for this is that it is currently
      a very common case (virtually all boards enable crc32 but only
      some enable more advanced features).
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      d20a40de
    • S
      hash: Add a flag to support saving hashes in the environment · d5b76673
      Simon Glass 提交于
      Some hashing commands permit saving the hash in an environment variable,
      and verifying a hash from there. But the crc32 command does not support
      this. In order to permit crc32 to use the generic hashing infrastructure,
      add a flag to select which behaviour to use.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      d5b76673
    • S
      Update set_working_fdt_addr() to use setenv_addr() · bfc59966
      Simon Glass 提交于
      We might as well use this common function instead of repeating the same
      code.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      bfc59966
    • S
      sandbox: Add un/map_sysmen() to deal with sandbox's ram_buf · 4213fc29
      Simon Glass 提交于
      Sandbox doesn't actually provide U-Boot access to the machine's physical
      memory. Instead it provides a RAM buffer of configurable size, and all
      memory accesses are within that buffer. Sandbox memory starts at 0 and
      is CONFIG_DRAM_SIZE bytes in size. Allowing access outside this buffer
      might produce unpredictable results in the event of an error, and would
      expose the host machine's memory architecture to the sandbox U-Boot.
      
      Most U-Boot functions assume that they can just access memory at given
      address. For sandbox this is not true.
      
      Add a map_sysmem() call which converts a U-Boot address to a system
      address. In most cases this is a NOP, but for sandbox it returns a
      pointer to that memory inside the RAM buffer.
      
      To get a U-Boot feature to work correctly within sandbox, you should call
      map_sysmem() to get a pointer to the address, and then use that address for
      any U-Boot memory accesses.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      4213fc29
    • T
      sandbox: Improve sandbox serial port keyboard interface · e101550a
      Taylor Hutt 提交于
      Implements the tstc() interface for the serial driver.  Multiplexing
      the console between the serial port and a keyboard uses a polling
      method of checking if characters are available; this means that the
      serial console must be non-blocking when attempting to read
      characters.
      Signed-off-by: NTaylor Hutt <thutt@chromium.org>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      e101550a
    • S
      Update print_buffer() to use const · bda32ffc
      Simon Glass 提交于
      The buffer cannot be changed by this function, so change the buffer
      pointer to a const. This allows callers with const pointer to use the
      function without a cast.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      bda32ffc
  8. 20 2月, 2013 2 次提交
    • P
      vsprintf: add ustrtoll function · 7df54d31
      Piotr Wilczek 提交于
      Add 'ustrtoull' function to convert size from string (ex: 1GiB)
      to unsigned long long type
      Signed-off-by: NPiotr Wilczek <p.wilczek@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      7df54d31
    • G
      malloc: make malloc_bin_reloc static · 7b395232
      Gabor Juhos 提交于
      On architectures where manual relocation
      is needed, the 'malloc_bin_reloc' function
      must be called after 'mem_malloc_init'.
      
      Make the 'malloc_bin_reloc' function static
      and call it directly from 'mem_malloc_init'
      instead of calling that from board_init_{r,f}
      functions of the affected architectures.
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Andreas Bießmann <andreas.devel@gmail.com>
      Cc: Jason Jin <Jason.jin@freescale.com>
      Cc: Macpaul Lin <macpaul@andestech.com>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      7b395232
  9. 16 2月, 2013 5 次提交