25 Mar, 2015

1 commit

  • with WCR_WDW set, the watchdog won't trigger if we bootet linux and idle
    around while the watchdog is not triggered. It seems the timer makes
    progress very slowly if at all. I managed to remain 20minutes alive
    while the timeout was set to 60secs. It reboots within 60secs if I start
    a busyloop in userland (something like "while (1) { }").

    While I don't see a reason why the WDT should not be running while the
    CPU is in idle, I'm dropping this bit.

    Signed-off-by: Sebastian Andrzej Siewior
    Acked-by: Stefano Babic

    Sebastian Siewior
     

20 Mar, 2015

1 commit


19 Mar, 2015

1 commit


18 Mar, 2015

7 commits


17 Mar, 2015

1 commit


15 Mar, 2015

1 commit


10 Mar, 2015

2 commits

  • This enables the musb glue layer to use the AXP221's VBUS detection
    function to check for VBUS. This fixes otg support on the A23 q8h
    tablets.

    Note that u-boot never calls musb_shutdown(), so once VBUS is enabled,
    it is never disabled until the system is powered off, or the OS does
    so. This can be used to our advantage to keep VBUS powered into the
    OS, where support for AXP221 is not available yet.

    Fixes: 52defe8f6570 ("sunxi: musb: Check Vbus-det before enabling otg port power")
    Signed-off-by: Chen-Yu Tsai
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Chen-Yu Tsai
     
  • Some of the AXP PMICs support VBUS detection, i.e. checking whether
    VBUS power input is available and usable (supplied by an external
    source). A few boards use this instead of a separate GPIO to detect
    VBUS on USB OTG.

    Signed-off-by: Chen-Yu Tsai
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Chen-Yu Tsai
     

09 Mar, 2015

1 commit

  • For writing files, DFU implementation requires the file buffer
    with the len at least of file size. For big files it requires
    the same big buffer.

    Previously the file buffer was allocated as a static variable,
    so it was a part of U-Boot .bss section. For 32MiB len of buffer
    we have 32MiB of additional space, required for this section.

    The .bss needs to be cleared after the relocation.
    This introduces an additional boot delay at every start, but usually
    the dfu feature is not required at the standard boot, so the buffer
    should be allocated only if required.

    This patch removes the static allocation of this buffer,
    and alloc it with memalign after first call of function:
    - dfu_fill_entity_mmc()
    and the buffer is freed on dfu_free_entity() call.

    This was tested on Trats2.
    A quick test with trace. Boot time from start to main_loop() entry:
    - ~888ms - before this change (arch memset enabled for .bss clear)
    - ~464ms - after this change

    Signed-off-by: Przemyslaw Marczak
    Reviewed-by: Simon Glass
    Cc: Lukasz Majewski
    Cc: Stephen Warren
    Cc: Pantelis Antoniou
    Cc: Tom Rini
    Cc: Marek Vasut

    Przemyslaw Marczak
     

08 Mar, 2015

1 commit


06 Mar, 2015

9 commits

  • This strdup() is missing a check. Add it.

    Signed-off-by: Simon Glass
    Acked-by: Heiko Schocher

    Simon Glass
     
  • Tom Rini
     
  • The 'nandecc sw' command selects a software-based error correction
    algorithm. By default, this is OMAP_ECC_HAM1_CODE_SW but some
    platforms use OMAP_ECC_BCH8_CODE_HW_DETECTION_SW as their
    software-based correction algorithm. Allow a user to be specific e.g.
    # nandecc sw
    where 'hamming' is still the default.

    Note: we don't just use CONFIG_NAND_OMAP_ECCSCHEME as it might be set
    to a hardware-based ECC scheme---a little strange when the user
    has requested 'sw' ECC.

    Signed-off-by: Ash Charles

    Ash Charles
     
  • Commit fb384c4720ca7496775d6578f184bf628db73456 introduced the use of
    WAIT0 pin for determining whether the NAND is ready or not. This only
    works if all NAND chips are connected to WAIT0. If some chips are
    connected to the other available pin WAIT1, nand_wait() does not really
    wait and prints a WARN_ON message.

    This patch allows the board to provide configuration of which chip is
    connected to which WAITx signal. For example, one can define in
    include/configs/foo.h:

    #define CONFIG_NAND_OMAP_GPMC_WSCFG 0,0,1,1

    This would mean that chips using to CS0 and 1 are connected to WAIT0 and
    chips with CS2 and 3 are connected to WAIT1.

    Signed-off-by: Michal Sojka
    Acked-by: Stefan Roese
    Tested-by: Michal Vokáč

    Cc: Tom Rini

    Michal Sojka
     
  • Often on boards exists a circuit which switches power on/off to LCD display.
    Due to the need of limiting the in-rush current the output voltage from this
    circuit rises "slowly", so it is necessary to wait a bit (VCC ramp up time)
    before starting output on LCD-pins.
    This time is specified in ms within the panel-settings, called "pup_delay"

    Further some LCDs need a couple of frames to stabilize the image on it.
    We have now the possibility to wait some time after starting output on LCD.
    This time is also specified in ms within panel-settings, called "pon_delay"

    Signed-off-by: Hannes Petermaier

    Hannes Petermaier
     
  • The Security Monitor is the SOC’s central reporting point for
    security-relevant events such as the success or failure of boot
    software validation and the detection of potential security compromises.

    The API's for transition of Security states have been added
    which will be used in case of SECURE BOOT.

    Signed-off-by: Ruchika Gupta
    Signed-off-by: Gaurav Rana
    Reviewed-by: York Sun

    gaurav rana
     
  • Remove dependency of rsa_mod_exp from CONFIG_FIT_SIGNATURE.
    As rsa modular exponentiation is an independent module
    and can be invoked independently.

    Signed-off-by: Gaurav Rana
    Acked-by: Simon Glass
    Reviewed-by: York Sun

    gaurav rana
     
  • - DMA threshold mode can be selected in board config head file.

    Signed-off-by: Sonic Zhang

    Sonic Zhang
     
  • Board can define its own AXI burst length to improve DWMAC DMA performance.

    v2-changes:
    - Avoid write burst len register when the Macro is not defined.

    v3-changes:
    - Add axi_bus register member to struct eth_dma_regs.

    Signed-off-by: Sonic Zhang
    Acked-by: Joe Hershberger

    Sonic Zhang
     

05 Mar, 2015

2 commits


02 Mar, 2015

6 commits


28 Feb, 2015

6 commits


26 Feb, 2015

1 commit