1f31dac4eSIan Ray# 2f31dac4eSIan Ray# Boot count configuration 3f31dac4eSIan Ray# 4f31dac4eSIan Ray 5*c1e1c1ecSAlex Kiernanmenuconfig BOOTCOUNT_LIMIT 6d1ec9461SLukasz Majewski bool "Enable support for checking boot count limit" 7d1ec9461SLukasz Majewski help 8d1ec9461SLukasz Majewski Enable checking for exceeding the boot count limit. 9d1ec9461SLukasz Majewski More information: http://www.denx.de/wiki/DULG/UBootBootCountLimit 10d1ec9461SLukasz Majewski 113dccc10eSAlex Kiernanif BOOTCOUNT_LIMIT 12f31dac4eSIan Ray 13*c1e1c1ecSAlex Kiernanchoice 14*c1e1c1ecSAlex Kiernan prompt "Boot count device" 15*c1e1c1ecSAlex Kiernan 16f31dac4eSIan Rayconfig BOOTCOUNT_EXT 17f31dac4eSIan Ray bool "Boot counter on EXT filesystem" 18f31dac4eSIan Ray help 19f31dac4eSIan Ray Add support for maintaining boot count in a file on an EXT 20f31dac4eSIan Ray filesystem. 21f31dac4eSIan Ray 22*c1e1c1ecSAlex Kiernanendchoice 23*c1e1c1ecSAlex Kiernan 24*c1e1c1ecSAlex Kiernanconfig SYS_BOOTCOUNT_SINGLEWORD 25*c1e1c1ecSAlex Kiernan bool "Use single word to pack boot count and magic value" 26*c1e1c1ecSAlex Kiernan help 27*c1e1c1ecSAlex Kiernan This option enables packing boot count magic value and boot count 28*c1e1c1ecSAlex Kiernan into single word (32 bits). 29f31dac4eSIan Ray 30f31dac4eSIan Rayconfig SYS_BOOTCOUNT_EXT_INTERFACE 31f31dac4eSIan Ray string "Interface on which to find boot counter EXT filesystem" 32f31dac4eSIan Ray default "mmc" 33f31dac4eSIan Ray depends on BOOTCOUNT_EXT 34f31dac4eSIan Ray help 35f31dac4eSIan Ray Set the interface to use when locating the filesystem to use for the 36f31dac4eSIan Ray boot counter. 37f31dac4eSIan Ray 38f31dac4eSIan Rayconfig SYS_BOOTCOUNT_EXT_DEVPART 39f31dac4eSIan Ray string "Partition of the boot counter EXT filesystem" 40f31dac4eSIan Ray default "0:1" 41f31dac4eSIan Ray depends on BOOTCOUNT_EXT 42f31dac4eSIan Ray help 43f31dac4eSIan Ray Set the partition to use when locating the filesystem to use for the 44f31dac4eSIan Ray boot counter. 45f31dac4eSIan Ray 46f31dac4eSIan Rayconfig SYS_BOOTCOUNT_EXT_NAME 47f31dac4eSIan Ray string "Path and filename of the EXT filesystem based boot counter" 48f31dac4eSIan Ray default "/boot/failures" 49f31dac4eSIan Ray depends on BOOTCOUNT_EXT 50f31dac4eSIan Ray help 51f31dac4eSIan Ray Set the filename and path of the file used to store the boot counter. 52f31dac4eSIan Ray 53f31dac4eSIan Rayconfig SYS_BOOTCOUNT_ADDR 54f31dac4eSIan Ray hex "RAM address used for reading and writing the boot counter" 55f31dac4eSIan Ray default 0x7000A000 56f31dac4eSIan Ray depends on BOOTCOUNT_EXT 57f31dac4eSIan Ray help 58f31dac4eSIan Ray Set the address used for reading and writing the boot counter. 59f31dac4eSIan Ray 60f31dac4eSIan Rayendif 61