Commit ff5410d34b1ce3fa3785ecfd785704cfccc30938
Committed by
Tom Rini
1 parent
04c96ed2a6
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
Convert CONFIG_BOOTCOUNT_RAM to Kconfig
This converts the following to Kconfig: CONFIG_BOOTCOUNT_RAM Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
Showing 15 changed files with 16 additions and 6 deletions Side-by-side Diff
- README
- configs/km_kirkwood_128m16_defconfig
- configs/km_kirkwood_defconfig
- configs/km_kirkwood_pci_defconfig
- configs/kmcoge5un_defconfig
- configs/kmnusa_defconfig
- configs/kmsugp1_defconfig
- configs/kmsuv31_defconfig
- configs/mgcoge3un_defconfig
- configs/portl2_defconfig
- configs/theadorable_debug_defconfig
- drivers/bootcount/Kconfig
- include/configs/km/km_arm.h
- include/configs/theadorable.h
- scripts/config_whitelist.txt
README
... | ... | @@ -2270,8 +2270,6 @@ |
2270 | 2270 | - bootcount support: |
2271 | 2271 | CONFIG_AT91SAM9XE |
2272 | 2272 | enable special bootcounter support on at91sam9xe based boards. |
2273 | - CONFIG_BOOTCOUNT_RAM | |
2274 | - enable support for the bootcounter in RAM | |
2275 | 2273 | CONFIG_BOOTCOUNT_I2C |
2276 | 2274 | enable support for the bootcounter on an i2c (like RTC) device. |
2277 | 2275 | CONFIG_SYS_I2C_RTC_ADDR = i2c chip address |
configs/km_kirkwood_128m16_defconfig
configs/km_kirkwood_defconfig
configs/km_kirkwood_pci_defconfig
configs/kmcoge5un_defconfig
configs/kmnusa_defconfig
configs/kmsugp1_defconfig
configs/kmsuv31_defconfig
configs/mgcoge3un_defconfig
configs/portl2_defconfig
configs/theadorable_debug_defconfig
drivers/bootcount/Kconfig
... | ... | @@ -40,6 +40,12 @@ |
40 | 40 | So the Userspace Application must set the "upgrade_available" |
41 | 41 | and "bootcount" variable to 0, if a boot was successfully. |
42 | 42 | |
43 | +config BOOTCOUNT_RAM | |
44 | + bool "Boot counter in RAM" | |
45 | + help | |
46 | + Store the bootcount in DRAM protected against against bit errors | |
47 | + due to short power loss or holding a system in RESET. | |
48 | + | |
43 | 49 | endchoice |
44 | 50 | |
45 | 51 | config SYS_BOOTCOUNT_SINGLEWORD |
include/configs/km/km_arm.h
... | ... | @@ -276,8 +276,6 @@ |
276 | 276 | #define CONFIG_KM_RESERVED_PRAM 0x801000 |
277 | 277 | /* address for the bootcount (taken from end of RAM) */ |
278 | 278 | #define BOOTCOUNT_ADDR (CONFIG_KM_RESERVED_PRAM) |
279 | -/* Use generic bootcount RAM driver */ | |
280 | -#define CONFIG_BOOTCOUNT_RAM | |
281 | 279 | |
282 | 280 | /* enable POST tests */ |
283 | 281 | #define CONFIG_POST (CONFIG_SYS_POST_MEM_REGIONS) |
include/configs/theadorable.h