1. 14 6月, 2013 1 次提交
  2. 08 6月, 2013 3 次提交
    • G
      pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option · 842033e6
      Gabor Juhos 提交于
      The pci_indirect.c file is always compiled when
      CONFIG_PCI is defined although the indirect PCI
      bridge support is not needed by every board.
      
      Introduce a new CONFIG_PCI_INDIRECT_BRIDGE
      config option and only compile indirect PCI
      bridge support if this options is enabled.
      
      Also add the new option into the configuration
      files of the boards which needs that.
      
      Compile tested for powerpc, x86, arm and nds32.
      MAKEALL results:
      
      powerpc:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 641
        Boards with warnings but no errors: 2 ( ELPPC MPC8323ERDB )
        ----------------------------------------------------------
        Note: the warnings for ELPPC and MPC8323ERDB are present even
        without the actual patch.
      
      x86:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 1
        ----------------------------------------------------------
      
      arm:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 311
        ----------------------------------------------------------
      
      nds32:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 3
        ----------------------------------------------------------
      
      Cc: Tom Rini <trini@ti.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      842033e6
    • P
      spl_mmc: add Falcon mode support for raw variant · 2b75b0ad
      Peter Korsgaard 提交于
      If Falcon mode support is enabled (and the system isn't directed into
      booting u-boot), it will instead try to load kernel from sector
      CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR and
      CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS of kernel argument parameters
      starting from sector CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR.
      Signed-off-by: NPeter Korsgaard <peter.korsgaard@barco.com>
      2b75b0ad
    • P
      spl_mmc: add Falcon mode support for FAT variant · 7ad2cc79
      Peter Korsgaard 提交于
      If Falcon mode support is enabled (and the system isn't directed into
      booting u-boot), it will instead try to load kernel from
      CONFIG_SPL_FAT_LOAD_KERNEL_NAME file and kernel argument parameters from
      CONFIG_SPL_FAT_LOAD_ARGS_NAME, both from the same partition as u-boot.
      Signed-off-by: NPeter Korsgaard <peter.korsgaard@barco.com>
      7ad2cc79
  3. 03 6月, 2013 2 次提交
  4. 16 5月, 2013 1 次提交
  5. 15 5月, 2013 2 次提交
  6. 13 5月, 2013 1 次提交
  7. 10 5月, 2013 1 次提交
    • L
      ARM: OMAP5: Fix warm reset with USB cable connected · 0b1b60c7
      Lokesh Vutla 提交于
      Warm reset on OMAP5 freezes when USB cable is connected.
      Fix requires PRM_RSTTIME.RSTTIME1 to be programmed
      with the time for which reset should be held low for the
      voltages and the oscillator to reach stable state.
      
      There are 3 parameters to be considered for calculating
      the time, which are mostly board and PMIC dependent.
      -1- Time taken by the Oscillator to shut + restart
      -2- PMIC OTP times
      -3- Voltage rail ramp times, which inturn depends on the
      PMIC slew rate and value of the voltage ramp needed.
      
      In order to keep the code in u-boot simple, have a way
      for boards to specify a pre computed time directly using
      the 'CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC'
      option. If boards fail to specify the time, use a default
      as specified by 'CONFIG_DEFAULT_OMAP_RESET_TIME_MAX_USEC' instead.
      Using the default value translates into some ~22ms and should work in
      all cases.
      However in order to avoid this large delay hiding other bugs,
      its recommended that all boards look at their respective data
      sheets and specify a pre computed and optimal value using
      'CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC'
      
      In order to help future board additions to compute this
      config option value, add a README at doc/README.omap-reset-time
      which explains how to compute the value. Also update the toplevel
      README with the additional option and pointers to
      doc/README.omap-reset-time.
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      [rnayak@ti.com: Updated changelog and added the README]
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      0b1b60c7
  8. 02 5月, 2013 1 次提交
    • W
      Add SLRE - Super Light Regular Expression library · a5ecbe62
      Wolfgang Denk 提交于
      Downloaded from http://slre.sourceforge.net/
      and adapted for U-Boot environment.
      
      Used to implement regex operations on environment variables.
      Code size is ~ 3.5 KiB on PPC.
      
      To enable this code, define the  CONFIG_REGEX  option in your board
      config file.
      
      Note:  There are more recent versions of the SLRE library available at
      http://slre.googlecode.com ; unfortunately, the new code has a heavily
      reorked API which makes it less usable for our purposes:
      - the return code is strings, which are more difficult to process
      - we don't get any information any more which sub-string of the data
        was matched by the given regex
      - it is much more cumbersome to work with arbitrary expressions, where
        for example the number of substrings for capturing are not known at
        compile time
      Also, there does not seem to be any real changes or improvements of
      the functionality.
      
      Because of this, we deliberately stick with the older code.
      
      Note 2: the test code (built when SLRE_TEST is defined) was modified
      to allow for more extensive testing; now we can test the regexp
      matching on all lines on a text file (instead of the whole data in the
      file as a single block).
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      a5ecbe62
  9. 28 4月, 2013 1 次提交
  10. 22 4月, 2013 1 次提交
    • S
      flash: Add optional verify-after-write feature · 352ef3f1
      Stefan Roese 提交于
      Sometimes it might make sense to verify the written data to NOR flash.
      This patch adds this feature. To enable this verify-after-write, you
      need to define CONFIG_FLASH_VERIFY in your board config header.
      
      Please note that this option is useless in nearly all cases,
      since such flash programming errors usually are detected earlier
      while unprotecting/erasing/programming. Please only enable
      this option if you really know what you are doing.
      Signed-off-by: NStefan Roese <sr@denx.de>
      352ef3f1
  11. 14 4月, 2013 2 次提交
  12. 12 4月, 2013 7 次提交
  13. 10 4月, 2013 3 次提交
  14. 08 4月, 2013 1 次提交
  15. 03 4月, 2013 1 次提交
  16. 02 4月, 2013 1 次提交
    • Y
      Consolidate bool type · 472d5460
      York Sun 提交于
      'bool' is defined in random places. This patch consolidates them into a
      single header file include/linux/types.h, using stdbool.h introduced in C99.
      
      All other #define, typedef and enum are removed. They are all consistent with
      true = 1, false = 0.
      
      Replace FALSE, False with false. Replace TRUE, True with true.
      Skip *.py, *.php, lib/* files.
      Signed-off-by: NYork Sun <yorksun@freescale.com>
      472d5460
  17. 22 3月, 2013 2 次提交
  18. 16 3月, 2013 2 次提交
    • S
      Add CONFIG_SYS_SYM_OFFSETS to support offset symbols · 632efa74
      Simon Glass 提交于
      Link symbols as created by the link script can either be absolute or
      relative to the text start. This option switches between the two options
      so that we can support both.
      
      As we convert architectures over to generic board, we can see if this
      option is actually needed, or whether it is possible to unify this feature
      also.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      632efa74
    • S
      __HAVE_ARCH_GENERIC_BOARD controls availabilty of generic board · 5c1a7ea6
      Simon Glass 提交于
      We are introducing a new unified board setup. Add a check to make sure that
      board config files do not define CONFIG_SYS_GENERIC_BOARD unless their
      architecture defines __HAVE_ARCH_GENERIC_BOARD
      
      __HAVE_ARCH_GENERIC_BOARD will currently not be the default setting, but
      we can switch this later when most architecture support generic board.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      5c1a7ea6
  19. 14 3月, 2013 1 次提交
    • S
      ARM: implement some Cortex-A9 errata workarounds · 0678587f
      Stephen Warren 提交于
      Various errata exist in the Cortex-A9 CPU, and may be worked around by
      setting some bits in a CP15 diagnostic register. Add code to implement
      the workarounds, enabled by new CONFIG_ options.
      
      This code was taken from the Linux kernel, v3.8, arch/arm/mm/proc-v7.S,
      and modified to remove the logic to conditionally apply the WAR (since we
      know exactly which CPU we're running on given the U-Boot configuration),
      and use r0 instead of r10 for consistency with the rest of U-Boot's
      cpu_init_cp15().
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      0678587f
  20. 12 3月, 2013 1 次提交
    • 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
  21. 11 3月, 2013 1 次提交
  22. 09 3月, 2013 1 次提交
    • N
      lcd: add option for board specific splash screen preparation · 581bb419
      Nikita Kiryanov 提交于
      Currently there is no logical place to put the code that prepares the
      splash image data. The splash image data should be ready in memory
      before bmp_display() is called, and after the environment is ready
      (since lcd.c looks for the splash image in an address specified by
      the environment variable "splashimage").
      
      Our window of opportunity in board_init_r() is therefore: between
      env_relocate() and bmp_display(), and from the available options
      only the lcd related functions in drv_lcd_init() seem appropriate
      for such lcd oriented code.
      
      Add the option to prepare the splash image data in lcd_logo() right
      before it is sent to be displayed.
      
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
      Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il>
      Signed-off-by: NIgor Grinberg <grinberg@compulab.co.il>
      581bb419
  23. 05 3月, 2013 1 次提交
  24. 01 3月, 2013 1 次提交
    • 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
  25. 23 2月, 2013 1 次提交