summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2022-08-28 12:32:53 -0600
committerTom Rini <[email protected]>2022-09-14 09:03:07 -0400
commit9c2e9128f34d8a23eb567da07842fad041bfc57b (patch)
tree969b458e4be58b25099981dc95c5d9e209ea8f66 /include
parent20f5d83fb1507514d60942cf6ca9a53c7448b803 (diff)
image: Drop some other #ifdefs in image-board.c
Remove all but a few that are difficult, relying on legacy CONFIG options or optional global_data fields. Drop the duplicate function name in the comment for boot_get_cmdline(). Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/image.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index e4c6a50b885..a148073113a 100644
--- a/include/image.h
+++ b/include/image.h
@@ -360,6 +360,12 @@ typedef struct bootm_headers {
#endif
} bootm_headers_t;
+#ifdef CONFIG_LMB
+#define images_lmb(_images) (&(_images)->lmb)
+#else
+#define images_lmb(_images) NULL
+#endif
+
extern bootm_headers_t images;
/*