26 Feb, 2018
1 commit
-
Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig. We can
provide a default for BOOTCOUNT_AM33XX as that's a specific part of the
RTC in use. We can also provide a default for ARCH_LS1043A and
ARCH_LS1021A as they had been previously calculated and their symbols
are in Kconfig. In the case of other QE-enabled platforms, they are not
so we must update the relevant defconfig files. The previous default
only applied in some cases, even on a specific SoC family.Reviewed-by: Lukasz Majewski
Reviewed-by: Alex Kiernan
Signed-off-by: Tom Rini
24 Feb, 2018
9 commits
-
Convert CONFIG_BOOTCOUNT_ALEN to Kconfig
Signed-off-by: Alex Kiernan -
Make generate boot counter selected in the same way as other boot count
driversReviewed-by: Lukasz Majewski
Signed-off-by: Alex Kiernan -
Integrate Boot counter for Atmel AT91SAM9XE into Kconfig
Reviewed-by: Lukasz Majewski
Signed-off-by: Alex Kiernan -
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_I2CSigned-off-by: Alex Kiernan
Reviewed-by: Lukasz Majewski -
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_RAMSigned-off-by: Alex Kiernan
Reviewed-by: Lukasz Majewski -
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_ENVSigned-off-by: Alex Kiernan
Reviewed-by: Lukasz Majewski -
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_AM33XXReviewed-by: Lukasz Majewski
Reviewed-by: Hannes Schmelzer
Acked-by: Hannes Schmelzer
Signed-off-by: Alex Kiernan -
Reviewed-by: Lukasz Majewski
Signed-off-by: Alex Kiernan -
CONFIG_BOOTCOUNT was only used in mx53ppd, merge it with
CONFIG_BOOTCOUNT_LIMITSigned-off-by: Alex Kiernan
Reviewed-by: Lukasz Majewski
Reviewed-by: Ian Ray
15 Feb, 2018
2 commits
-
This converts the following to Kconfig:
CONFIG_SYS_BOOTCOUNT_SINGLEWORDSigned-off-by: Lukasz Majewski
Tested-by: Alex Kiernan
Reviewed-by: Ian Ray -
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_LIMITSigned-off-by: Lukasz Majewski
Tested-by: Alex Kiernan
Reviewed-by: Hannes Schmelzer
Acked-by: Hannes Schmelzer
20 Nov, 2017
1 commit
-
Add support for bootcounter on an EXT filesystem.
Sync configuration whitelist.Signed-off-by: Ian Ray
Signed-off-by: Martyn Welch
13 Sep, 2017
1 commit
-
Signed-off-by: Tomas Melin
16 Aug, 2017
3 commits
-
We are now using an env_ prefix for environment functions. Rename these
for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass -
We are now using an env_ prefix for environment functions. Rename these
commonly used functions, for consistency. Also add function comments in
common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass -
Use the env_save() function directly now that there is only one
implementation of saveenv().Signed-off-by: Simon Glass
Reviewed-by: Wolfgang Denk
Reviewed-by: Tom Rini
04 Jul, 2017
1 commit
-
There was for long time no activity in the 4xx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in 4xx,
so remove it.Signed-off-by: Heiko Schocher
16 Jun, 2017
1 commit
-
There was for long time no activity in the mpx5xxx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in mpc5xxx,
so remove it.Signed-off-by: Heiko Schocher
12 Jun, 2017
2 commits
-
There was for long time no activity in the 8260 area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in 8260,
so remove it.Signed-off-by: Heiko Schocher
-
There was for long time no activity in the 8xx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in 8xx,
so remove it (with a heavy heart, knowing that I remove
here the root of U-Boot).Signed-off-by: Heiko Schocher
06 Apr, 2017
1 commit
-
The architecture is currently unmaintained, remove.
Cc: Benjamin Matthews
Cc: Chong Huang
Cc: Dimitar Penev
Cc: Haitao Zhang
Cc: I-SYST Micromodule
Cc: M.Hasewinkel (MHA)
Cc: Marek Vasut
Cc: Martin Strubel
Cc: Peter Meerwald
Cc: Sonic Zhang
Cc: Valentin Yakovenkov
Cc: Wojtek Skulski
Cc: Wojtek Skulski
Signed-off-by: Tom Rini
29 Nov, 2016
1 commit
-
This patch fixes the warning about misaligned cache on Armada XP:
CACHE: Misaligned operation at range [7ffff000, 7fffffac]
Signed-off-by: Stefan Roese
Cc: Valentin Longchamp
Reviewed-by: Tom Rini
12 Apr, 2016
1 commit
-
This patch adds a call to flush_dcache_range() to bootcount_store() to
make sure, that the bootcounter data (including the patterns) is
written to memory. Without this, platforms with dcache enabled may not
have the bootcounter updated upon reset.Signed-off-by: Stefan Roese
Cc: Valentin Longchamp
08 Jan, 2016
1 commit
-
Correct mismatched comment on #endif to agree with its #if defined().
Also add some missing #endif comments for consistency, take out
extraneous blank lines for readability.rday
23 Jul, 2014
1 commit
-
ls1021 is arm-core and supports qe too.
Move immap_qe.h into common directory for both arm and powerpc.Signed-off-by: Zhao Qiang
Reviewed-by: York Sun
20 Feb, 2014
1 commit
-
add support for bootcounter on an i2c device. And add a
README for all bootcounter options.Signed-off-by: Heiko Schocher
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 -
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
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.hMakefile 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/Makefileinclude/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
02 Nov, 2013
3 commits
-
Enable the bootcount driver for am335x in general. We leave adding a
bootlimit and altbootcmd to the environment to the board ports.Signed-off-by: Tom Rini
-
The RTC IP block here provides 3 scratch registers. Currently when
using DeepSleep on am335x the scratch0/1 registers are used so moving
ourself to scratch2 makes cooperation easier.Signed-off-by: Tom Rini
-
Create a common header file for the RTC IP block that is shared between
davinci and am33xx.Signed-off-by: Tom Rini
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
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