11 Oct, 2014

1 commit


10 Oct, 2014

1 commit


09 Oct, 2014

1 commit


08 Oct, 2014

3 commits


05 Oct, 2014

3 commits


29 Sep, 2014

2 commits


27 Sep, 2014

2 commits


26 Sep, 2014

5 commits


25 Sep, 2014

11 commits

  • When accumulated ECC is enabled, the DQ_MAP for ECC[4:7] needs to be set
    to 0, i.e. 0->0, 1->1, etc., required by controller logic, even these pins
    are not actually connected.

    Also fix a bug when reading from DDR register to use proper accessor for
    correct endianess.

    Signed-off-by: York Sun

    York Sun
     
  • The driver was written using old DDR3 spec which only covers low speeds.
    The value would be suboptimal for higher speeds. Fix both timing according
    to latest DDR3 spec, remove tCKE as an config option.

    Signed-off-by: York Sun

    York Sun
     
  • U-boot has been initializing DDR for the main memory. The presumption
    is the memory stays as a big continuous block, either linear or
    interleaved. This change is to support putting some DDR controllers
    to separated space without counting into main memory. The standalone
    memory controller could use different number of DIMM slots.

    Signed-off-by: York Sun

    York Sun
     
  • Freescale's flash control driver is using architecture specific timer API
    i.e. usec2ticks

    Replace usec2ticks with get_timer() (generic timer API)

    Signed-off-by: Prabhakar Kushwaha
    Acked-by: Scott Wood
    Reviewed-by: York Sun

    Prabhakar Kushwaha
     
  • [1] Move driver/core/, driver/input/ and drivers/input/ entries
    from the top Makefile to drivers/Makefile

    [2] Remove the conditional by CONFIG_DM in drivers/core/Makefile
    because the whole drivers/core directory is already selected
    by CONFIG_DM in the upper level

    [3] Likewise for CONFIG_DM_DEMO in drivers/demo/Makefile

    [4] Simplify common/Makefile - both CONFIG_DDR_SPD and
    CONFIG_SPD_EEPROM are boolean macros so they can directly
    select objects

    Signed-off-by: Masahiro Yamada
    Acked-by: Marek Vasut

    Masahiro Yamada
     
  • The macro MIN, MAX is defined as the aliase of min, max,
    respectively.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • This would be useful to start moving various config options.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass
    Tested-by: Simon Glass

    Masahiro Yamada
     
  • Fix the following build error in case CONFIG_E1000_NO_NVM is enabled:
    CC drivers/net/e1000.o
    drivers/net/e1000.c: In function ‘e1000_initialize’:
    drivers/net/e1000.c:5365:5: error: ‘struct e1000_hw’ has no
    member named ‘eeprom_semaphore_present’
    make[1]: *** [drivers/net/e1000.o] Error 1
    make: *** [drivers/net] Error 2
    Acked-by: Marek Vasut

    Marcel Ziswiler
     
  • - update static function
    - additional debugging statements
    - update "fastboot command" information
    - add missing include file
    - update spelling

    Signed-off-by: Steve Rae

    Steve Rae
     
  • - implement 'fastboot flash' for eMMC devices

    Signed-off-by: Steve Rae
    Acked-by: Lukasz Majewski
    Reviewed-by: Marek Vasut

    Steve Rae
     
  • T1042QDS (T1042 is T1040 Personality without L2 switch) supports following
    sgmii interfaces with serdes protocol 0xA7
    -SGMII-MAC3 on Lane B - slot 7
    -SGMII-MAC5 on Lane H - slot 7
    -SGMII2.5G-MAC1 on Lane C - slot 6
    -SGMII2.5G-MAC2 on Lane D - slot 5

    Add support of above sgmii interfaces

    Signed-off-by: Priyanka Jain

    Priyanka Jain
     

24 Sep, 2014

11 commits

  • Signed-off-by: Stefan Roese
    Cc: Jagannadha Sutradharudu Teki

    Acked-by: Prafulla Wadaskar
    Tested-by: Luka Perkov
    Reviewed-by: Jagannadha Sutradharudu Teki

    Stefan Roese
     
  • Signed-off-by: Stefan Roese
    Acked-by: Prafulla Wadaskar
    Tested-by: Luka Perkov
    Reviewed-by: Jagannadha Sutradharudu Teki

    Stefan Roese
     
  • This patch introduces the clrsetbits_le32() accessor functions in the
    kirkwood SPI driver. Note that it also includes a fix:

    - writel(~KWSPI_CSN_ACT | KWSPI_SMEMRDY, &spireg->ctrl);
    + writel(KWSPI_SMEMRDY, &spireg->ctrl);

    Here the bit KWSPI_CSN_ACT (0x1) should have been cleared. Instead
    0xfffffffe is written into this control register. This is the main
    reason to use the clrsetbits() functions now. As they make clearing
    bits much less error prone.

    Additionally KWSPI_IRQUNMASK is not used in spi_cs_activate() and
    spi_cs_deactivate() any more. Its the wrong macro but has the same
    value as the correct one (KWSPI_CSN_ACT).

    This is in preparation for use of this driver on the Marvell Armada XP
    platform as well.

    Signed-off-by: Stefan Roese
    Acked-by: Prafulla Wadaskar
    Tested-by: Luka Perkov
    Reviewed-by: Jagannadha Sutradharudu Teki

    Stefan Roese
     
  • Add ID for this Numonix / STMicro chip.

    Tested on Marvell DB-78460-BP board.

    Signed-off-by: Stefan Roese
    Tested-by: Luka Perkov
    Reviewed-by: Jagannadha Sutradharudu Teki

    Stefan Roese
     
  • Currently, CONFIG_SPL_SPI_* #defines are used for controlling SPI boot in
    SPL. These #defines do not allow the user to select SPI mode for the SPI flash
    (there's no CONFIG_SPL_SPI_MODE, so the SPI mode is hardcoded in
    spi_spl_load.c), and duplicate information already provided by
    CONFIG_SF_DEFAULT_* #defines.

    Kill CONFIG_SPL_SPI_*, and use CONFIG_SF_DEFAULT_* instead.

    Cc: Tom Rini
    Cc: Marek Vasut
    Cc: Sudhakar Rajashekhara
    Cc: Lokesh Vutla
    Cc: Vitaly Andrianov
    Cc: Lars Poeschel
    Cc: Bo Shen
    Cc: Hannes Petermaier
    Cc: Michal Simek
    Acked-by: Marek Vasut
    Signed-off-by: Nikita Kiryanov
    Reviewed-by: Jagannadha Sutradharudu Teki

    Nikita Kiryanov
     
  • MXC SPI driver has a feature whereas a GPIO line can be used to force CS high
    across multiple transactions. This is set up by embedding the GPIO information
    in the CS value:

    cs = (cs | gpio << 8)

    This merge of cs and gpio data into one value breaks the sf probe command:
    if the use of gpio is required, invoking "sf probe " will not work, because
    the CS argument doesn't have the GPIO information in it. Instead, the user must
    use "sf probe << 8>". For example, if bank 2 gpio 30 is used to force
    cs high on cs 0, bus 0, then instead of typing "sf probe 0" the user now must
    type "sf probe 15872".

    This is inconsistent with the description of the sf probe command, and forces
    the user to be aware of implementaiton details.

    Fix this by introducing a new board function: board_spi_cs_gpio(), which will
    accept a naked CS value, and provide the driver with the relevant GPIO, if one
    is necessary.

    Cc: Eric Nelson
    Cc: Eric Benard
    Cc: Fabio Estevam
    Cc: Tim Harvey
    Cc: Stefano Babic
    Cc: Tom Rini
    Cc: Marek Vasut
    Reviewed-by: Marek Vasut
    Signed-off-by: Nikita Kiryanov
    Reviewed-by: Jagannadha Sutradharudu Teki

    Nikita Kiryanov
     
  • Add support for M25PE16 and M25PX16

    Cc: Marek Vasut
    Acked-by: Marek Vasut
    Signed-off-by: Nikita Kiryanov
    Reviewed-by: Jagannadha Sutradharudu Teki

    Nikita Kiryanov
     
  • Since dev->req_seq value is initialized from "reg" property of fdt node,
    there is posibility, that address value contained in fdt is greater than
    INT_MAX, and then value in dev->req_seq is negative which led to probe()
    fail.

    This patch fix this problem by ensuring that req_seq is positive, unless
    it's one of errno codes.

    Signed-off-by: Robert Baldyga
    Acked-by: Simon Glass

    Robert Baldyga
     
  • Allow serial_find_console_or_panic() to work without a device tree.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The sequence number support in driver model requires device tree control.
    It should be skipped if CONFIG_OF_CONTROL is not defined, and should not
    require functions from fdtdec.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The list is supposed to be terminated with a NULL name, but is not. If a
    board probes a chip which does not appear in the table, U-Boot will crash
    (at least on sandbox).

    Signed-off-by: Simon Glass

    Simon Glass