25 Nov, 2014

3 commits


24 Nov, 2014

1 commit

  • Add reset_sata() to the sata driver interface and implement it
    for dwc_ahsata. This function cleans up after sata_init(), and
    therefore accepts a device number like sata_init() does.
    A dummy implementation is provided for the rest of the drivers.

    Signed-off-by: Nikita Kiryanov
    Cc: Simon Glass
    Cc: Stefano Babic

    Nikita Kiryanov
     

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

14 commits


20 Nov, 2014

3 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

3 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