mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 21:33:24 +09:00
![Heiko Schocher](/assets/img/avatar_default.png)
add DM/DTS support for the memory based bootcounter in drivers/bootcount/bootcount.c. Let the old implementation in, so boards which have not yet convert to DM/DTS do not break. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
22 lines
430 B
Plaintext
22 lines
430 B
Plaintext
U-Boot bootcounter Devicetree Binding
|
|
=====================================
|
|
|
|
The device tree node describes the U-Boot bootcounter
|
|
memory based device binding.
|
|
|
|
Required properties :
|
|
|
|
- compatible : "u-boot,bootcount";
|
|
- single-word : set this, if you have only one word space
|
|
for storing the bootcounter.
|
|
|
|
Example
|
|
-------
|
|
|
|
MPC83xx based board:
|
|
|
|
bootcount@0x13ff8 {
|
|
compatible = "u-boot,bootcount";
|
|
reg = <0x13ff8 0x08>;
|
|
};
|