diff options
| author | Tom Rini <[email protected]> | 2022-09-14 11:50:21 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-09-14 11:50:21 -0400 |
| commit | 6541726ee92108935b97449ed28d8dd28c0ef001 (patch) | |
| tree | 969b458e4be58b25099981dc95c5d9e209ea8f66 /include | |
| parent | a822b9234b2f961f0bbdf2a0b20863d48c6de6e3 (diff) | |
| parent | 9c2e9128f34d8a23eb567da07842fad041bfc57b (diff) | |
Merge branch '2022-09-14-refactor-ramdisk-code-again' into next
To quote the author:
The previous attempt at this[1] broke a board and was reverted in [2].
This series adopts a slightly different approach, splitting the changes
into many commits.
[1] f33a2c1bd0f ("image: Remove #ifdefs from select_ramdisk()")
[2] 621158d106f ("Revert "image: Remove #ifdefs from select_ramdisk()"")
Diffstat (limited to 'include')
| -rw-r--r-- | include/image.h | 6 |
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; /* |
