]> git.ipfire.org Git - people/ms/u-boot.git/blame - drivers/bootcount/Kconfig
Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig
[people/ms/u-boot.git] / drivers / bootcount / Kconfig
CommitLineData
f31dac4e
IR
1#
2# Boot count configuration
3#
4
5menu "Boot count support"
6
7config BOOTCOUNT
8 bool "Enable Boot count support"
9 help
10 Enable boot count support, which provides the ability to store the
11 number of times the board has booted on a number of different
12 persistent storage mediums.
13
d1ec9461
LM
14config BOOTCOUNT_LIMIT
15 bool "Enable support for checking boot count limit"
16 help
17 Enable checking for exceeding the boot count limit.
18 More information: http://www.denx.de/wiki/DULG/UBootBootCountLimit
19
f31dac4e
IR
20if BOOTCOUNT
21
22config BOOTCOUNT_EXT
23 bool "Boot counter on EXT filesystem"
24 help
25 Add support for maintaining boot count in a file on an EXT
26 filesystem.
27
28if BOOTCOUNT_EXT
29
30config SYS_BOOTCOUNT_EXT_INTERFACE
31 string "Interface on which to find boot counter EXT filesystem"
32 default "mmc"
33 depends on BOOTCOUNT_EXT
34 help
35 Set the interface to use when locating the filesystem to use for the
36 boot counter.
37
38config SYS_BOOTCOUNT_EXT_DEVPART
39 string "Partition of the boot counter EXT filesystem"
40 default "0:1"
41 depends on BOOTCOUNT_EXT
42 help
43 Set the partition to use when locating the filesystem to use for the
44 boot counter.
45
46config SYS_BOOTCOUNT_EXT_NAME
47 string "Path and filename of the EXT filesystem based boot counter"
48 default "/boot/failures"
49 depends on BOOTCOUNT_EXT
50 help
51 Set the filename and path of the file used to store the boot counter.
52
53config SYS_BOOTCOUNT_ADDR
54 hex "RAM address used for reading and writing the boot counter"
55 default 0x7000A000
56 depends on BOOTCOUNT_EXT
57 help
58 Set the address used for reading and writing the boot counter.
59
60endif
61
62endif
63
64endmenu