]>
Commit | Line | Data |
---|---|---|
f31dac4e IR |
1 | # |
2 | # Boot count configuration | |
3 | # | |
4 | ||
5 | menu "Boot count support" | |
6 | ||
d1ec9461 LM |
7 | config BOOTCOUNT_LIMIT |
8 | bool "Enable support for checking boot count limit" | |
9 | help | |
10 | Enable checking for exceeding the boot count limit. | |
11 | More information: http://www.denx.de/wiki/DULG/UBootBootCountLimit | |
12 | ||
04e2cead LM |
13 | config SYS_BOOTCOUNT_SINGLEWORD |
14 | bool "Use single word to pack boot count and magic value" | |
15 | help | |
16 | This option enables packing boot count magic value and boot count | |
17 | into single word (32 bits). | |
18 | ||
3dccc10e | 19 | if BOOTCOUNT_LIMIT |
f31dac4e IR |
20 | |
21 | config BOOTCOUNT_EXT | |
22 | bool "Boot counter on EXT filesystem" | |
23 | help | |
24 | Add support for maintaining boot count in a file on an EXT | |
25 | filesystem. | |
26 | ||
27 | if BOOTCOUNT_EXT | |
28 | ||
29 | config SYS_BOOTCOUNT_EXT_INTERFACE | |
30 | string "Interface on which to find boot counter EXT filesystem" | |
31 | default "mmc" | |
32 | depends on BOOTCOUNT_EXT | |
33 | help | |
34 | Set the interface to use when locating the filesystem to use for the | |
35 | boot counter. | |
36 | ||
37 | config SYS_BOOTCOUNT_EXT_DEVPART | |
38 | string "Partition of the boot counter EXT filesystem" | |
39 | default "0:1" | |
40 | depends on BOOTCOUNT_EXT | |
41 | help | |
42 | Set the partition to use when locating the filesystem to use for the | |
43 | boot counter. | |
44 | ||
45 | config SYS_BOOTCOUNT_EXT_NAME | |
46 | string "Path and filename of the EXT filesystem based boot counter" | |
47 | default "/boot/failures" | |
48 | depends on BOOTCOUNT_EXT | |
49 | help | |
50 | Set the filename and path of the file used to store the boot counter. | |
51 | ||
52 | config SYS_BOOTCOUNT_ADDR | |
53 | hex "RAM address used for reading and writing the boot counter" | |
54 | default 0x7000A000 | |
55 | depends on BOOTCOUNT_EXT | |
56 | help | |
57 | Set the address used for reading and writing the boot counter. | |
58 | ||
59 | endif | |
60 | ||
61 | endif | |
62 | ||
63 | endmenu |