summaryrefslogtreecommitdiffstats
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-25 11:48:47 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-25 11:55:46 +0200
commit1454a0e2cdb303378432806a682fafdac752e3fc (patch)
treefde4119ba4941ede63db26237cb745b8050a615c /drivers/of/Makefile
parentfe03b34fbefab504ec352488e12b6d39413a1f32 (diff)
downloadbarebox-1454a0e2cdb303378432806a682fafdac752e3fc.tar.gz
barebox-1454a0e2cdb303378432806a682fafdac752e3fc.tar.xz
of: preserve /memreserve/ entries
Some dts files for the Kernel specify a reserved memory area using the /memreserve/ dtc directive. These entries get lost during unflattening/flattening the device tree and are never passed to the Kernel. This patch fixes this behaviour. This is done by copying the entries into a /memreserve node in the unflattened tree and moving them back during flattening the tree. The entries added by barebox dynamically are appended to the static entries from the original dtb. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/of/Makefile')
0 files changed, 0 insertions, 0 deletions