1. 21 1月, 2017 9 次提交
  2. 20 1月, 2017 6 次提交
    • E
      api: Use hashtable function for API_env_enum · 6215bd4c
      Emmanuel Vadot 提交于
      The current code can loop undefinitly as it doesn't parse
      correctly the env data.
      Since the env is an hashtable, use the hashtable function for
      the API_ENV_ENUM api call.
      Signed-off-by: NEmmanuel Vadot <manu@bidouilliste.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      6215bd4c
    • S
    • A
      ARM: omap3_logic: Refactor Boot Environmental variables · 476e16e8
      Adam Ford 提交于
      Some scripts are calling the same functions, so these changes consolidate
      common scripts together to reduce redundancy and shrink size a bit.  This
      also keeps the 'bootargs' variable from growing if manually called more
      than one time. This also adds NAND booting scripts based on newly consolidated
      scripts.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      476e16e8
    • R
      bootm: relocate ramdisk if CONFIG_SYS_BOOT_RAMDISK_HIGH set · c2e7e72b
      Rick Altherr 提交于
      In 35fc84fa, bootm was refactored so plain 'bootm' and
      'bootm <subcommand>' shared a common implementation.
      The 'bootm ramdisk' command implementation is now part of the common
      implementation but not invoke by plain 'bootm' since the original
      implementation never did ramdisk relocation.  Instead, ramdisk
      relocation happened in image_setup_linux() which is typically called
      during the OS portion of 'bootm'.
      
      On ARM, parameters to the Linux kernel can either be passed by FDT or
      ATAGS. When using FDT, image_setup_linux() is called which also triggers
      ramdisk relocation.  When using ATAGS, image_setup_linux() is _not_
      called because it mostly does FDT setup.
      
      Instead of calling image_setup_linux() in both FDT and ATAGS cases,
      include BOOTM_STATE_RAMDISK in the requested states during a plain
      'bootm' if CONFIG_SYS_BOOT_RAMDISK_HIGH is set and remove the ramdisk
      relocation from image_setup_linux().  This causes ramdisk relocation to
      happen on any system where CONFIG_SYS_BOOT_RAMDISK_HIGH regardless of
      the OS being booted. Also remove IMAGE_ENABLE_RAMDISK_HIGH as it was
      only used by the now-removed code from image_setup_linux().
      Signed-off-by: NRick Altherr <raltherr@google.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NJoel Stanley <joel@jms.id.au>
      c2e7e72b
    • H
      serial, ns16550: bugfix: ns16550 fifo not enabled · 17fa0326
      Heiko Schocher 提交于
      commit: 65f83802 "serial: 16550: Add getfcr accessor"
      breaks u-boot commandline working with long commands
      sending to the board.
      
      Since the above patch, you have to setup the fcr register.
      
      For board/archs which enable OF_PLATDATA, the new field
      fcr in struct ns16550_platdata is not filled with a
      default value ...
      
      This leads in not setting up the uarts fifo, which ends
      in problems, when you send long commands to u-boots
      commandline.
      
      Detected this issue with automated tbot tests on am335x
      based shc board.
      
      The error does not popup, if you type commands. You need
      to copy&paste a long command to u-boots commandshell
      (or send a long command with tbot)
      
      Possible boards/plattforms with problems:
      ./arch/arm/cpu/arm926ejs/lpc32xx/devices.c
      ./arch/arm/mach-tegra/board.c
      ./board/overo/overo.c
      ./board/quipos/cairo/cairo.c
      ./board/logicpd/omap3som/omap3logic.c
      ./board/logicpd/zoom1/zoom1.c
      ./board/timll/devkit8000/devkit8000.c
      ./board/lg/sniper/sniper.c
      ./board/ti/beagle/beagle.c
      ./drivers/serial/serial_rockchip.c
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Signed-off-by: NLadislav Michl <ladis@linux-mips.org>
      Tested-by: NAdam Ford <aford173@gmail.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      17fa0326
    • T
      Merge git://git.denx.de/u-boot-fsl-qoriq · 0675f992
      Tom Rini 提交于
      0675f992
  3. 19 1月, 2017 25 次提交