commit | ac52cba63f26eab9c74f3d1c2da00835724d3484 | [log] [tgz] |
---|---|---|
author | Detlev Casanova <detlev.casanova@collabora.com> | Mon Feb 07 11:02:30 2022 -0500 |
committer | Tom Rini <trini@konsulko.com> | Mon Feb 14 13:03:49 2022 -0500 |
tree | f48675aa4741cceb0eb4704b3c348008fcbe81e6 | |
parent | 162c22bfbc4141f22937c6bc37aa02fd4621e76c [diff] |
pstore: Support already existing reserved-memory node The pstore command tries to create a reserved-memory node but fails if it is already present with: Add 'reserved-memory' node failed: FDT_ERR_EXISTS This patch creates the node only if it does not exist and adapts the reg values sizes depending on already present #address-cells and #size-cells values. Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>