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 <sjg@chromium.org>
This commit is contained in:
Simon Glass
2022-08-28 12:32:53 -06:00
committed by Tom Rini
parent 20f5d83fb1
commit 9c2e9128f3
2 changed files with 42 additions and 31 deletions

View File

@@ -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;
/*