summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-23 18:58:54 -0600
committerSimon Glass <sjg@chromium.org>2014-11-21 04:43:18 +0100
commitc654b5172a65faba2b541ee1fda1738534d47241 (patch)
treec3404c860de6b6c30591b5dd58abf9ddf44c162b /include/image.h
parent6f4dbc21e47c5c1dd191cbd2f0fb7252340e0dcb (diff)
fdt: Add ft_system_setup() function for system device tree additions
Add an additional function for adding information to the device tree before booting. This permits additions which are not board-specific. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index 07e9aed16d9..af30d601585 100644
--- a/include/image.h
+++ b/include/image.h
@@ -119,6 +119,12 @@ struct lmb;
# define IMAGE_OF_BOARD_SETUP 0
#endif
+#ifdef CONFIG_OF_SYSTEM_SETUP
+# define IMAGE_OF_SYSTEM_SETUP 1
+#else
+# define IMAGE_OF_SYSTEM_SETUP 0
+#endif
+
/*
* Operating System Codes
*/