diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2019-02-12 16:10:41 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-02-12 21:20:32 +0100 |
commit | 8a29e7b493c8c2aa57174c9e79c14b93c9807a4b (patch) | |
tree | fa93b25f47f7dd303a52ec251cc6dbb8f8fb65c3 /common/bbu.c | |
parent | 5033b4f58f71e1535ab83d35dfcd8bb1b0384e22 (diff) | |
download | barebox-8a29e7b493c8c2aa57174c9e79c14b93c9807a4b.tar.gz barebox-8a29e7b493c8c2aa57174c9e79c14b93c9807a4b.tar.xz |
memory: of_fixup: adapt to new memory layout
Since kernel 4.16 the memory nodes got a @<reg> suffix so the fixup
won't work correctly anymore, because instead of adapting the extisting
one the fixup creates a new node and keeps the old (maybe incorrect)
node.
To be compatible with the old and new layout delete the found memory
node and create a new one. The new node follows the new @<reg> style.
The patch also renames the node parameter to make it clearer.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bbu.c')
0 files changed, 0 insertions, 0 deletions