]>
Commit | Line | Data |
---|---|---|
f31dac4e IR |
1 | # |
2 | # Boot count configuration | |
3 | # | |
4 | ||
5 | menu "Boot count support" | |
6 | ||
7 | config 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 | ||
14 | if BOOTCOUNT | |
15 | ||
16 | config BOOTCOUNT_EXT | |
17 | bool "Boot counter on EXT filesystem" | |
18 | help | |
19 | Add support for maintaining boot count in a file on an EXT | |
20 | filesystem. | |
21 | ||
22 | if BOOTCOUNT_EXT | |
23 | ||
24 | config SYS_BOOTCOUNT_EXT_INTERFACE | |
25 | string "Interface on which to find boot counter EXT filesystem" | |
26 | default "mmc" | |
27 | depends on BOOTCOUNT_EXT | |
28 | help | |
29 | Set the interface to use when locating the filesystem to use for the | |
30 | boot counter. | |
31 | ||
32 | config SYS_BOOTCOUNT_EXT_DEVPART | |
33 | string "Partition of the boot counter EXT filesystem" | |
34 | default "0:1" | |
35 | depends on BOOTCOUNT_EXT | |
36 | help | |
37 | Set the partition to use when locating the filesystem to use for the | |
38 | boot counter. | |
39 | ||
40 | config SYS_BOOTCOUNT_EXT_NAME | |
41 | string "Path and filename of the EXT filesystem based boot counter" | |
42 | default "/boot/failures" | |
43 | depends on BOOTCOUNT_EXT | |
44 | help | |
45 | Set the filename and path of the file used to store the boot counter. | |
46 | ||
47 | config SYS_BOOTCOUNT_ADDR | |
48 | hex "RAM address used for reading and writing the boot counter" | |
49 | default 0x7000A000 | |
50 | depends on BOOTCOUNT_EXT | |
51 | help | |
52 | Set the address used for reading and writing the boot counter. | |
53 | ||
54 | endif | |
55 | ||
56 | endif | |
57 | ||
58 | endmenu |