aboutsummaryrefslogtreecommitdiffstats
path: root/include/lib/fconf/fconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/fconf/fconf.h')
-rw-r--r--include/lib/fconf/fconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/lib/fconf/fconf.h b/include/lib/fconf/fconf.h
index 5a5837f45..f58ff5710 100644
--- a/include/lib/fconf/fconf.h
+++ b/include/lib/fconf/fconf.h
@@ -47,4 +47,15 @@ void fconf_load_config(void);
*/
void fconf_populate(uintptr_t config);
+/* FCONF specific getter */
+#define fconf__dtb_getter(prop) fconf_dtb_info.prop
+
+/* Structure used to locally keep a reference to the config dtb. */
+struct fconf_dtb_info_t {
+ uintptr_t base_addr;
+ size_t size;
+};
+
+extern struct fconf_dtb_info_t fconf_dtb_info;
+
#endif /* FCONF_H */