20 Feb, 2014

1 commit


12 Nov, 2013

2 commits

  • Some am33xx boards may not use the RTC block for bootcount (as it may
    not be wired up for the board) and use some other facility. So add
    another symbol for the bootcount driver for the IP block.

    Acked-by: Heiko Schocher
    Signed-off-by: Tom Rini

    Tom Rini
     
  • If no softreset save registers are found on the hardware
    "bootcount" is stored in the environment. To prevent a
    saveenv on all reboots, the environment variable
    "upgrade_available" is introduced. If "upgrade_available" is
    0, "bootcount" is always 0 therefore no need to save the
    environment on u-boot boot, if "upgrade_available" is 1 "bootcount"
    is incremented in the environment and environment gets written
    on u-boot start.
    So the Userspace Applikation must set the "upgrade_available"
    and "bootcount" variable to 0 (for example with fw_setenv),
    if a boot was successfully.

    Signed-off-by: Heiko Schocher

    Heiko Schocher
     

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
     

02 Nov, 2013

3 commits


01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


01 Sep, 2012

1 commit

  • This patch moves all bootcount implementations into a common
    directory: drivers/bootcount. The generic bootcount driver
    is now usable not only by powerpc platforms, but others as well.

    Signed-off-by: Stefan Roese
    Cc: Heiko Schocher
    Cc: Valentin Longchamp
    Cc: Christian Riesch
    Cc: Manfred Rudigier
    Cc: Mike Frysinger
    Cc: Rob Herring
    Cc: Reinhard Meyer
    Tested-by: Valentin Longchamp
    Tested-by: Christian Riesch
    Acked-by: Rob Herring
    Acked-by: Mike Frysinger

    Stefan Roese