aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFrédéric Danis2020-03-20 10:59:24 +0100
committerTom Rini2020-10-14 11:16:34 -0400
commit9ea0a1ee9309054102e61a29e746db672494d385 (patch)
treeb9a033c630654fadfdee30b85175773b18a7405d /include
parent26f555a6e5454043ed0b0a12d6fce252f5ae5b80 (diff)
cmd: Fixup DT to pass PStore Ramoops parameters
To simplify configuration and keep synchronized the PStore/Ramoops between U-Boot and the Linux kernel, this commit dynamically adds the Ramoops parameters defined in the U-Boot session to the Device Tree. Signed-off-by: Frédéric Danis <frederic.danis@collabora.com> Cc: Tom Rini <trini@konsulko.com> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/fdt_support.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 9684cffe80b..dbbac0fb6a3 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -359,4 +359,7 @@ int fdt_update_ethernet_dt(void *blob);
#ifdef CONFIG_FSL_MC_ENET
void fdt_fixup_board_enet(void *blob);
#endif
+#ifdef CONFIG_CMD_PSTORE
+void fdt_fixup_pstore(void *blob);
+#endif
#endif /* ifndef __FDT_SUPPORT_H */