Skip to content
Commit ac52cba6 authored by Detlev Casanova's avatar Detlev Casanova Committed by Tom Rini
Browse files

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: default avatarDetlev Casanova <detlev.casanova@collabora.com>
parent 162c22bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment