diff options
author | Rouven Czerwinski <r.czerwinski@pengutronix.de> | 2020-11-09 06:51:50 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-11-09 23:02:05 +0100 |
commit | 706ef1bf6fed8dd2c75c469ad4bc758da2cb4cf3 (patch) | |
tree | b6e41d2ea762bbad3ce315e230f51ece814c9886 /include/fcntl.h | |
parent | 594a33a171725468a77926a41b451ec2d9a8c311 (diff) | |
download | barebox-706ef1bf6fed8dd2c75c469ad4bc758da2cb4cf3.tar.gz barebox-706ef1bf6fed8dd2c75c469ad4bc758da2cb4cf3.tar.xz |
of: base: ignore disabled memory nodes
Qemu with the secure extension enabled will insert a secram node into
the device tree:
secram@e000000 {
secure-status = "okay";
status = "disabled";
reg = <0x0 0xe000000 0x0 0x1000000>;
device_type = "memory";
};
Barebox would previously parse this node, add it as a memory bank and
than reinsert an enabled node into the fixed up device tree.
Fix this by skipping disabled memory nodes.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/fcntl.h')
0 files changed, 0 insertions, 0 deletions