04 Oct, 2016

1 commit


20 Jul, 2016

1 commit


08 Jan, 2016

1 commit


13 Oct, 2015

2 commits

  • Since commit 623d96e89aca6("imx: wdog: correct wcr register settings")
    issuing a 'reset' command causes the system to hang.

    Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian.

    This means that the watchdog on LS1021 has been working by accident as
    it does not use the big-endian accessors in drivers/watchdog/imx_watchdog.c.
    Commit 623d96e89aca6("imx: wdog: correct wcr register settings") only
    revelead the endianness problem on LS102x.

    In order to fix the reset hang, introduce a reset_cpu() implementation that
    is specific for ls102x, which accesses the watchdog WCR register in big-endian
    format. All that is required to reset LS102x is to clear the SRS bit.

    This approach is a temporary workaround to avoid a regression for LS102x
    in the 2015.10 release. The proper fix is to make the watchdog driver
    endian-aware, so that it can work for i.MX, Vybrid and LS102x.

    Reported-by: Sinan Akman
    Tested-by: Sinan Akman
    Reviewed-by: Wolfgang Denk
    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • Create fsl_wdog.h to store the watchdog registers and bit fields.

    This can be useful when accesses to the watchdog block are made from other
    parts, such as arch/arm/ cpu code.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     

20 Sep, 2015

1 commit

  • We should not simple use "writew(WCR_WDE, &wdog->wcr)" to set
    wcr, since this will override bits set before reset_cpu.

    Use clrsetbits_le16 instead of writew to fix this issue.

    Signed-off-by: Peng Fan
    Cc: Stefano Babic
    Cc: Fabio Estevam
    Cc: Sebastian Siewior
    Tested-by: Fabio Estevam

    Peng Fan
     

13 Sep, 2015

1 commit


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
     

25 Feb, 2015

1 commit


08 Feb, 2015

1 commit


25 Sep, 2014

1 commit


09 Sep, 2014

1 commit

  • The QorIQ LS1 family is built on Layerscape architecture,
    the industry's first software-aware, core-agnostic networking
    architecture to offer unprecedented efficiency and scale.

    Freescale LS102xA is a set of SoCs combines two ARM
    Cortex-A7 cores that have been optimized for high
    reliability and pack the highest level of integration
    available for sub-3 W embedded communications processors
    with Layerscape architecture and with a comprehensive
    enablement model focused on ease of programmability.

    Signed-off-by: Alison Wang
    Signed-off-by: Jason Jin
    Signed-off-by: Jingchang Lu
    Signed-off-by: Prabhakar Kushwaha

    Wang Huan
     

08 Jul, 2014

1 commit


05 Jul, 2014

1 commit


10 Nov, 2013

1 commit

  • Conflicts:
    arch/arm/cpu/arm926ejs/mxs/Makefile
    board/compulab/cm_t35/Makefile
    board/corscience/tricorder/Makefile
    board/ppcag/bg0900/Makefile
    drivers/bootcount/Makefile
    include/configs/omap4_common.h
    include/configs/pdnb3.h

    Makefile conflicts are due to additions/removals of
    object files on the ARM branch vs KBuild introduction
    on the main branch. Resolution consists in adjusting
    the list of object files in the main branch version.
    This also applies to two files which are not listed
    as conflicting but had to be modified:

    board/compulab/common/Makefile
    board/udoo/Makefile

    include/configs/omap4_common.h conflicts are due to
    the OMAP4 conversion to ti_armv7_common.h on the ARM
    side, and CONFIG_SYS_HZ removal on the main side.
    Resolution is to convert as this icludes removal of
    CONFIG_SYS_HZ.

    include/configs/pdnb3.h is due to a removal on ARM side.
    Trivial resolution is to remove the file.

    Note: 'git show' will also list two files just because
    they are new:

    include/configs/am335x_igep0033.h
    include/configs/omap3_igep00x0.h

    Albert ARIBAUD
     

01 Nov, 2013

2 commits


16 Oct, 2013

1 commit

  • The patch:
    "blackfin: Move blackfin watchdog driver out of the blackfin arch folder."
    (sha1: e9a389a18477c1c57a0b30e9ea8f4d38c6e26e63)
    changed hw_watchdog_init() prototype which didn't match
    with Microblaze one.
    This patch fixes the driver and Microblaze initialization.

    Signed-off-by: Michal Simek

    Michal Simek
     

15 Oct, 2013

1 commit


28 Aug, 2013

1 commit


24 Jul, 2013

1 commit


08 Jun, 2013

1 commit


03 Jun, 2013

1 commit


13 May, 2013

1 commit


30 Apr, 2013

1 commit


13 Jan, 2013

1 commit


15 Nov, 2012

1 commit


18 Oct, 2012

1 commit


18 May, 2011

2 commits


13 Apr, 2011

1 commit

  • 1. Move header to include/faraday
    2. Fix include path in ftwdt010_wdt.c
    3. Fix function prototype and declaration to
    - ftwdt010_wdt_settimeout
    - ftwdt010_wdt_reset
    - ftwdt010_wdt_disable
    4. Add "#if definde (CONFIG_HW_WATCHDOG)" let user have flexibilty
    to choose which better to his product.

    Signed-off-by: Macpaul Lin

    Macpaul Lin
     

12 Apr, 2011

1 commit


18 Nov, 2010

1 commit

  • Before this commit, weak symbols were not overridden by non-weak symbols
    found in archive libraries when linking with recent versions of
    binutils. As stated in the System V ABI, "the link editor does not
    extract archive members to resolve undefined weak symbols".

    This commit changes all Makefiles to use partial linking (ld -r) instead
    of creating library archives, which forces all symbols to participate in
    linking, allowing non-weak symbols to override weak symbols as intended.
    This approach is also used by Linux, from which the gmake function
    cmd_link_o_target (defined in config.mk and used in all Makefiles) is
    inspired.

    The name of each former library archive is preserved except for
    extensions which change from ".a" to ".o". This commit updates
    references accordingly where needed, in particular in some linker
    scripts.

    This commit reveals board configurations that exclude some features but
    include source files that depend these disabled features in the build,
    resulting in undefined symbols. Known such cases include:
    - disabling CMD_NET but not CMD_NFS;
    - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

    Signed-off-by: Sebastien Carlier

    Sebastien Carlier
     

04 Apr, 2010

1 commit


05 Apr, 2009

1 commit