25 Nov, 2014

2 commits


23 Nov, 2014

4 commits

  • The sandbox/ext4/fat/generic fs commands do not gracefully deal with files
    greater than 2GB. Negative values are returned in such cases.

    To handle this, the fs functions have been modified to take an additional
    parameter of type "* loff_t" which is then populated. The return value
    of the fs functions are used only for error conditions.

    Signed-off-by: Suriyan Ramasami
    Acked-by: Simon Glass
    [trini: Update board/gdsys/p1022/controlcenterd-id.c,
    drivers/fpga/zynqpl.c for changes]
    Signed-off-by: Tom Rini

    Suriyan Ramasami
     
  • When enumerating devices, honour the pci_skip_dev() function. This can
    be used by PCI controller drivers to restrict which devices will be
    probed.

    This is required by the NVIDIA Tegra PCIe controller driver, which will
    fail with a data abort exception if an access is attempted to a device
    number larger than 0 outside of bus 0. pci_skip_dev() is therefore
    implemented to prevent any such accesses.

    Signed-off-by: Thierry Reding
    Signed-off-by: Simon Glass

    Thierry Reding
     
  • Except the first loop, init_sata() should return 0 instead of 1
    in the others.

    This patch fix the issue of the 2nd sata port not workable on pci-sata card.

    Signed-off-by: Pengbo Li

    li pengbo
     
  • U-Boot has never cared about the type when we get max/min of two
    values, but Linux Kernel does. This commit gets min, max, min3, max3
    macros synced with the kernel introducing type checks.

    Many of references of those macros must be fixed to suppress warnings.
    We have two options:
    - Use min, max, min3, max3 only when the arguments have the same type
    (or add casts to the arguments)
    - Use min_t/max_t instead with the appropriate type for the first
    argument

    Signed-off-by: Masahiro Yamada
    Acked-by: Pavel Machek
    Acked-by: Lukasz Majewski
    Tested-by: Lukasz Majewski
    [trini: Fixup arch/blackfin/lib/string.c]
    Signed-off-by: Tom Rini

    Masahiro Yamada
     

22 Nov, 2014

10 commits


21 Nov, 2014

13 commits


20 Nov, 2014

2 commits


19 Nov, 2014

2 commits

  • The device id makes u-boot think that this chip needs
    cfi_reverse_geometry(), which is not the case.
    Add it to jedec_flash, so it is handled properly.

    Signed-off-by: Dirk Eibach
    Signed-off-by: Stefan Roese

    Dirk Eibach
     
  • ff94bc40af3481d47546595ba73c136de6af6929 "mtd, ubi, ubifs: resync with Linux-3.14"
    introduced the writebufsize field in struct mtd_info, which
    is not initialized in the cfi_flash driver, which leads in
    not working ubi on cfi flashes. Fix it

    Signed-off-by: Heiko Schocher
    Reported-by: Andrew Ruder
    Acked-by: Stefan Roese
    Acked-by: Andrew Ruder

    Heiko Schocher
     

17 Nov, 2014

7 commits

  • The User Register in GMAC IP is used to select interface type.
    When with GE feature, it is used to select interface between
    RGMII and GMII. If without GE feature, it is used to select
    interface between MII and RMII.

    Signed-off-by: Bo Shen
    Signed-off-by: Andreas Bießmann

    Bo Shen
     
  • As in SAMA5D4 SoC, the gf table in ROM code can not be seen.
    So, when we try to use PMECC, we need to build it when do
    initialization.
    Add a macro NO_GALOIS_TABLE_IN_ROM in soc header file. If it
    is defined we will build gf table runtime.

    The PMECC use the BCH algorithm, so based on the build_gf_tables()
    function in lib/bch.c, we can build the Galois Field lookup table.

    Signed-off-by: Josh Wu
    Signed-off-by: Bo Shen
    Signed-off-by: Andreas Bießmann

    Josh Wu
     
  • device ready pin is signalling that the device is ready on state 1
    not on 0. Simmiliar as it is in drivers/mtd/nand/nand_spl_simple.c

    Signed-off-by: Heiko Schocher
    Reviewed-by: Andreas Bießmann
    Reviewed-by: Bo Shen
    Acked-by: Scott Wood
    Signed-off-by: Andreas Bießmann

    Heiko Schocher
     
  • erase one nand block in spl code. keep it simple, as size matters
    This is used on the upcoming taurus spl support.

    Signed-off-by: Heiko Schocher
    Acked-by: Scott Wood
    Reviewed-by: Bo Shen
    Reviewed-by: Andreas Bießmann
    Signed-off-by: Andreas Bießmann

    Heiko Schocher
     
  • using this driver in SPL code with CONFIG_SPL_NAND_ECC
    configured leads in an compileerror. Fix this.

    Signed-off-by: Heiko Schocher
    Reviewed-by: Andreas Bießmann
    Reviewed-by: Bo Shen
    [fix subject]
    Signed-off-by: Andreas Bießmann

    Heiko Schocher
     
  • move CONFIG_SYS_SPI_WRITE_TOUT into drivers/spi/atmel_spi.h
    and define a default value. Delete this define in the board
    config files, where it is possible (all boards use currently
    the same value).

    Signed-off-by: Heiko Schocher
    Reviewed-by: Jagannadha Sutradharudu Teki
    Reviewed-by: Andreas Bießmann
    Signed-off-by: Andreas Bießmann

    Heiko Schocher
     
  • When boot up without mac address setting, it will give the warning
    message like: "Warning: failed to set MAC address", however when
    execute network related command, it still execute them without any
    warning information.

    With this patch, it will exit directly with following information:
    "gmac0: mac address is not valid"

    It also solve the problem after bootup then set mac address and the
    mac address won't set to net device issue.

    Signed-off-by: Bo Shen
    Tested-by: Boris Brezillon
    Signed-off-by: Andreas Bießmann

    Bo Shen