Permalink
Switch branches/tags
Nothing to show
Commits on Mar 13, 2016
Commits on Mar 11, 2016
  1. exynos5: common: Enable CONFIG_USB_ETHER_RTL8152 ethernet support

    Anand Moon committed with MinkyuKang Mar 5, 2016
    Enable CONFIG_USB_ETHER_RTL8152 support for Odroid XU4 which
    has support for RTL8153-CG gigabit Ethernet adapter,
    connected over USB 3.0.
    
    commit 9dc8ba1 added support
    for Realtek 8152/8153 driver.
    
    Signed-off-by: Anand Moon <linux.amoon@gmail.com>
    Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Commits on Mar 10, 2016
  1. rockchip: rk3288: correct sdram setting

    zywang33 committed with sglass68 Mar 7, 2016
    The DMC driver in v3.14 kernel[0] get the ddr setting from PMU_SYS_REG2,
    and it expects uboot to store the value using a same protocol. But now
    the ddr setting value is different with DMC, so if you enable the DMC,
    system would crash in kernel. Correct the sdram setting here, according
    to the requirements of kernel.
    
    [0]
    https://chromium.googlesource.com/chromiumos/third_party/kernel/+/
    chromeos-3.14/drivers/clk/rockchip/clk-rk3288-dmc.c
    
    Signed-off-by: Chris Zhong <zyw@rock-chips.com>
    Acked-by: Simon Glass <sjg@chromium.org>
  2. rockchip: make configure_emmc() empty for Firefly-RK3288

    naobsd committed with sglass68 Mar 5, 2016
    on v2016.03-rc3, size of SPL image compiled by gcc 5.3.0 is too large for
    Firefly-RK3288. (it's fine for Rock2)
    
    $ gcc --version
    gcc (Ubuntu/Linaro 5.3.0-3ubuntu1~14.04) 5.3.0 20151204
    Copyright (C) 2015 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    $ ./tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl-dtb.bin u-boot-spl-dtb.img
    Warning: SPL image is too large (size 0x80d0) and will not boot
    
    to reduce size of SPL image, this patch makes configure_emmc() empty for
    Firefly-RK3288 as same as Rock2.
    
    Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
    Acked-by: Simon Glass <sjg@chromium.org>
    Tested-By: Vagrant Cascadian <vagrant@debian.org>
  3. rockchip: rk3036: change ddr frequency to 400M

    Lin Huang committed with sglass68 Feb 17, 2016
    emac may use dpll as clock parent, and it request the clock frequency
    multiples of 50, so change ddr frequency to 400M.
    
    Signed-off-by: Lin Huang <hl@rock-chips.com>
    Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
    Acked-by: Simon Glass <sjg@chromium.org>
Commits on Mar 9, 2016
  1. MIPS: pic32mzdask: use CONFIG_USE_PRIVATE_LIBGCC=y

    danielschwierzeck committed Mar 9, 2016
    MIPS EL boards should define CONFIG_USE_PRIVATE_LIBGCC=y to work
    with EB-only toolchains like the one from kernel.org. If one do
    not globally set CONFIG_USE_PRIVATE_LIBGCC=y, the build fails with:
    
    /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_lshrdi3.o): compiled for a big endian system and target is little endian
    /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_lshrdi3.o): endianness incompatible with that of the selected emulation
    /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: failed to merge target specific data of file /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_lshrdi3.o)
    /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_ashldi3.o): compiled for a big endian system and target is little endian
    /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_ashldi3.o): endianness incompatible with that of the selected emulation
    /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: failed to merge target specific data of file /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_ashldi3.o)
    /work/git-trees/u-boot-mips/Makefile:1171: recipe for target 'u-boot' failed
    
    One example for a failing build is Travis CI.
    
    Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
    Reviewed-by: Purna Chandra Mandal <purna.mandal@microchip.com>
  2. MIPS: fix mips_cache fallback without __builtin_mips_cache

    NeoRaider committed with danielschwierzeck Mar 5, 2016
    The "R" constraint supplies the address of an variable in a register. Use
    "r" instead and adjust asm to supply the content of addr in a register
    instead.
    
    Fixes: 2b8bcc5 ("MIPS: avoid .set ISA for cache operations")
    Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
    Cc: Paul Burton <paul.burton@imgtec.com>
    Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Commits on Mar 8, 2016
  1. malloc: remove !gd handling

    swarren committed with trini Mar 5, 2016
    Following the previous patch, malloc() is never called before gd is set,
    so we can remove the special-case check for this condition.
    
    This reverts commit 854d2b9 "dlmalloc: ensure gd is set for early
    alloc".
    
    Cc: Rabin Vincent <rabin@rab.in>
    Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
    Reviewed-by: Tom Rini <trini@konsulko.com>
    Reviewed-by: Simon Glass <sjg@chromium.org>
  2. malloc: use hidden visibility

    swarren committed with trini Mar 5, 2016
    When running sandbox, the following phases occur, each with different
    malloc implementations or behaviors:
    
    1) Dynamic linker execution, using the dynamic linker's own malloc()
    implementation. This is fully functional.
    
    2) After U-Boot's malloc symbol has been hooked into the GOT, but before
    any U-Boot code has run. This phase is entirely non-functional, since
    U-Boot's gd symbol is NULL and U-Boot's initf_malloc() and
    mem_malloc_init() have not been called.
    
    At least on Ubuntu Xenial, the dynamic linker does make both malloc() and
    free() calls during this phase. Currently these free() calls crash since
    they dereference gd, which is NULL.
    
    U-Boot itself makes no use of malloc() during this phase.
    
    3) U-Boot execution after gd is set and initf_malloc() has been called.
    This is fully functional, albeit via a very simple malloc()
    implementation.
    
    4) U-Boot execution after mem_malloc_init() has been called. This is fully
    functional with a complete malloc() implementation.
    
    Furthermore, if code that called malloc() during phase 1 calls free() in
    phase 3 or later, it is likely that heap corruption will occur, since
    U-Boot's malloc implementation will assume the pointer is part of its own
    heap, although it isn't. I have not actively observed this happening.
    
    To prevent phase 2 from happening, this patch makes all of U-Boot's malloc
    library public symbols have hidden visibility. This prevents them from
    being hooked into the GOT, so only code in the U-Boot binary itself
    actually calls them; any other code will call into the standard C library
    malloc(). This also avoids the "furthermore" issue mentioned above.
    
    I have seen references to this GCC pragma in blog posts from 2008, and
    RHEL5's ancient gcc appears to accept it fine, so I believe it's quite
    safe to use it without checking gcc version.
    
    Cc: Rabin Vincent <rabin@rab.in>
    Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
    Reviewed-by: Tom Rini <trini@konsulko.com>
    Reviewed-by: Simon Glass <sjg@chromium.org>
  3. sandbox: Fix building with LLVM

    trini committed Mar 5, 2016
    - The macro __BIGGEST_ALIGNMENT__ is gcc-specific.  If it is not defined
      we'll just assume 16.  This is correct for at least the common cases
      and LLVM does not provide an equivalent macro.
    - When linking U-Boot we're passing -T to the linker, and while gcc will
      just pass this along with LLVM we need to be specific.
    
    Cc: Simon Glass <sjg@chromium.org>
    Signed-off-by: Tom Rini <trini@konsulko.com>
    Reviewed-by: Simon Glass <sjg@chromium.org>
  4. omap3: Use raw SPL by default for mmc1

    agraf committed with trini Mar 1, 2016
    Now that we fall back to the FS code path when we don't find u-boot
    at the raw sector offset, there is no good reason to not default to
    raw boot.
    
    With this patch, I can successfully boot u-boot from a raw sector
    offset on beagle-xm.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
  5. api: Export API structure address as an environment variable

    sgalabov committed with trini Mar 1, 2016
    This patch makes the U-Boot api export its structure address as an environment
    variable, so it can be used to directly hint FreeBSD's loader of api's location.
    
    The relevant FreeBSD loader change is currently under review at:
    https://reviews.freebsd.org/D5492
    
    Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
  6. OMAP3: am3517_evm: Add NAND MTD partitions with UBI/UBIFS support

    woodsts committed with trini Mar 5, 2016
    - Add required UBI/UBIFS config definitions
    - Add reasonable MTD partition layout
    - Remove JFFS2 config definitions
    - Drop some CFI verbage and definitions
    - Make comment 'one-liners' truly one line
    - Improve readability and content arrangement
    
    Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
    Reviewed-by: Tom Rini <trini@konsulko.com>
  7. OMAP3: am3517_evm: Use BCH8 ECC for NAND

    woodsts committed with trini Mar 5, 2016
    Select 8-bit BCH ecc-scheme with s/w based error correction
    - OMAP_ECC_BCH8_CODE_HW_DETECTION_SW
    
    Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
    Reviewed-by: Tom Rini <trini@konsulko.com>
  8. ARM: uniphier: allow debug_ll_init() to do nothing for unknown SoCs

    masahir0y committed Mar 7, 2016
    This function should just return for unknown SoCs rather than writing
    unexpected values to registers.
    
    Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
  9. pinctrl: uniphier: guard uniphier directory with CONFIG_PINCTRL_UNIPHIER

    masahir0y committed Mar 4, 2016
    CONFIG_PINCTRL_UNIPHIER is more suitable than CONFIG_ARCH_UNIPHIER
    to guard the drivers/pinctrl/uniphier directory.
    
    The current CONFIG_PINCTRL_UNIPHIER_CORE is a bit long, so rename it
    into CONFIG_PINCTRL_UNIPHIER.
    
    Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
  10. pinctrl: uniphier: set input-enable before pin-muxing

    masahir0y committed Mar 4, 2016
    While IECTRL is disabled, input signals are pulled-down internally.
    If pin-muxing is set up first, glitch signals (Low to High transition)
    might be input to hardware blocks.
    
    Bad case scenario:
    [1] The hardware block is already running before pinctrl is handled.
       (the reset is de-asserted by default or by a firmware, for example)
    [2] The pin-muxing is set up.  The input signals to hardware block
       are pulled-down by the chip-internal biasing.
    [3] The pins are input-enabled.  The signals from the board reach the
        hardware block.
    
    Actually, one invalid character is input to the UART blocks for such
    SoCs as PH1-LD4, PH1-sLD8, where UART devices start to run at the
    power on reset.
    
    To avoid such problems, pins should be input-enabled before muxing.
    
    [ ported from Linux commit bac7f4c1bf5e7c6ccd5bb71edc015b26c77f7460 ]
    
    Fixes: 5dc626f ("pinctrl: uniphier: add UniPhier pinctrl core support")
    Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
  11. ARM: uniphier: fix build error when CONFIG_CMD_DDRMPHY_DUMP=y

    masahir0y committed Mar 4, 2016
    The build fails if compiled with CONFIG_CMD_DDRMPHY_DUMP=y since commit
    46abfcc ("ARM: uniphier: rework struct uniphier_board_data").
    
    Fixes: 46abfcc ("ARM: uniphier: rework struct uniphier_board_data")
    Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
  12. ARM: uniphier: document how-to-build for Ace and Sanji boards

    masahir0y committed Mar 1, 2016
    Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Commits on Mar 5, 2016
  1. usb: dwc2: disable erroneous overcurrent condition

    Dinh Nguyen committed with Marek Vasut Mar 5, 2016
    For the case where an external VBUS is used, we should enable the external
    VBUS comparator in the driver. This would prevent an unnecessary overcurrent
    error which would then disable the host port.
    
    The overcurrent condition was happening on the SoCFPGA Cyclone5 devkit, thus
    USB was not working on the devkit. This patch fixes that problem.
    
    Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Commits on Mar 2, 2016
  1. board: tbs2910: Fix eMMC BOOTCFG value

    s-moch committed with sbabic Feb 9, 2016
    Fix the BOOTCFG value for eMMC in the same way as commit
      214c3f0
      [imx: MX6DQ{P}/DL:SABRESD Fix bmode eMMC failure]
    did for sabresd.
    
    Signed-off-by: Soeren Moch <smoch@web.de>
  2. mx53ard: Move to booting zImage

    Fabio Estevam committed with sbabic Feb 23, 2016
    Move to booting a zImage kernel by default to align with the other
    i.MX boards.
    
    While at it, adjust the fdt_addr so that we can boot a standard
    mainline kernel.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
  3. mx6qarm2: Update maintainer's emails

    Fabio Estevam committed with sbabic Feb 22, 2016
    Use the new NXP emails.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
  4. MAINTAINERS: Update Peng Fan's email address

    Fabio Estevam committed with sbabic Feb 21, 2016
    Use Peng Fan's new NXP email address in MAINTAINERS files.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Acked-by: Peng Fan <peng.fan@nxp.com>
  5. colibri-vf: Disable pull-up configuration in GPIO pin mux

    bhuvanchandra committed with sbabic Feb 24, 2016
    During very early boot-ROM execution the pinmux
    configuration isi in Hi-Z state. If pull-up is enabled
    on GPIO pad's there will be a short period of toggle
    from high to low on the IO when GPIO is set low during
    boot. To avoid this glitch, disable pull-up configuration
    in GPIO pinmux.
    
    Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Commits on Mar 1, 2016
  1. usb: gadget: composite: Correct recovery path for register

    Sam Protsenko committed with Marek Vasut Feb 16, 2016
    In case when usb_composite_register() failed once (for whatever reason),
    it will fail further even if all conditions are correct. Example:
    
        => fastboot 2
        Invalid Controller Index
        couldn't find an available UDC
        g_dnl_register: failed!, error: -19
        exit not allowed from main input shell.
    
        => fastboot 0
        g_dnl_register: failed!, error: -22
        exit not allowed from main input shell.
    
    Despite that 0 is correct index for USB controller, "fastboot 0" command
    will fail, because "composite" structure wasn't cleared properly on
    previous fail (on "fastboot 2" command).
    
    This patch fixes that erroneous behavior, allowing us to use composite
    even after previous failure.
    
    Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Commits on Feb 29, 2016
  1. Prepare v2016.03-rc3

    trini committed Feb 29, 2016
    Signed-off-by: Tom Rini <trini@konsulko.com>
  2. arm: dra7xx: Define Android partition table

    Sam Protsenko committed with trini Feb 26, 2016
    "fastboot oem format" command reuses "gpt write" command, which in turn
    requires correct partitions defined in $partitions variable. This patch
    adds such definition of Android partitions for DRA7XX EVM board.
    
    By default $partitions variable contains Linux partition table. In order
    to prepare Android environment one can run next commands from U-Boot
    shell:
    
        => env set partitions $partitions_android
        => env save
    
    After those operations one can go to fastboot mode and perform
    "fastboot oem format" to create Android partition table.
    
    While at it, enable CONFIG_RANDOM_UUID to spare user from providing
    UUIDs for each partition manually.
    
    Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
    Reviewed-by: Tom Rini <trini@konsulko.com>
  3. sniper: Various minor cleanups, missing Kconfig configs and reorganis…

    paulkocialkowski committed with trini Feb 26, 2016
    …ation
    
    This introduces some minor cleanups, regarding aspects such as board name, code
    and headers organization as well as deprecated and missing config options.
    
    Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
    Reviewed-by: Tom Rini <trini@konsulko.com>
  4. ARM: start.S: fix typo

    g3y7spk committed with trini Feb 25, 2016
    Fix typo in comment about position of 'A' bit in several start.S.
    
    Signed-off-by: Yuichiro Goto <goto.yuichiro@espark.co.jp>
  5. amcc-common.h: Disable CONFIG_SYS_LONGHELP

    trini committed Feb 29, 2016
    There are a number of AMCC platforms which are close to, or with some
    toolchains exceeding, the size constraints.  Disable CONFIG_SYS_LONGHELP
    to get us room to build with again.
    
    Signed-off-by: Tom Rini <trini@konsulko.com>
  6. compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6

    trini committed Feb 29, 2016
    Copy these from Linux v4.5-rc6 tag.
    
    This is needed so that we can keep up with newer gcc versions.  Note
    that we don't have the uapi/ hierarchy from the kernel so continue to
    use <linux/types.h>
    
    Signed-off-by: Tom Rini <trini@konsulko.com>