summaryrefslogtreecommitdiff
path: root/fs/pstore
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-08-15 08:40:01 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-08-16 08:32:49 +0200
commitdb5522fe3e5d193895565a720e00d42e09ae8155 (patch)
treeab1609c2bc3d371e714334a4da8777dcc77aa8da /fs/pstore
parentfce0d30e07df009edb2aceace22a490a04a5a2c9 (diff)
downloadbarebox-db5522fe3e5d193895565a720e00d42e09ae8155.tar.gz
pstore: disable double memory reservation fixup
Device tree fixup ramoops_of_fixup registered directly after of_add_reserve_entry already takes care to create a /reserved-memory entry, so adding one to the FDT reserved memory list is redundant. Thus keep only the /reserved-memory entry. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220815064001.702879-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/pstore')
-rw-r--r--fs/pstore/ram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c
index 0d8bb8f418..b484ecd552 100644
--- a/fs/pstore/ram.c
+++ b/fs/pstore/ram.c
@@ -639,7 +639,6 @@ static int ramoops_probe(struct device_d *dev)
ramoops_ecc);
globalvar_add_simple("linux.bootargs.ramoops", kernelargs);
} else {
- of_add_reserve_entry(cxt->phys_addr, cxt->phys_addr + mem_size);
of_register_fixup(ramoops_of_fixup, pdata);
}