mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
LMB: Fix undefined lmb_reserve() on non-lmb platforms
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Stephen Warren <swarren@nvidia.com> Cc: Tom Warren <TWarren@nvidia.com> Cc: Graeme Russ <graeme.russ@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
c008b6f6dd
commit
35cf5fe510
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ static void boot_start_lmb(bootm_headers_t *images)
|
||||||
board_lmb_reserve(&images->lmb);
|
board_lmb_reserve(&images->lmb);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
#define lmb_reserve(lmb, base, size)
|
||||||
static inline void boot_start_lmb(bootm_headers_t *images) { }
|
static inline void boot_start_lmb(bootm_headers_t *images) { }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue