[U-Boot] [PATCH] LMB: Fix undefined lmb_reserve() on non-lmb platforms

Marek Vasut marex at denx.de
Sun Apr 1 15:59:46 CEST 2012


Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Wolfgang Denk <wd at denx.de>
Cc: Mike Frysinger <vapier at gentoo.org>
Cc: Stephen Warren <swarren at nvidia.com>
Cc: Tom Warren <TWarren at nvidia.com>
Cc: Graeme Russ <graeme.russ at gmail.com>
---
 common/cmd_bootm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 9ad2535..5685232 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -186,6 +186,7 @@ static void boot_start_lmb(bootm_headers_t *images)
 	board_lmb_reserve(&images->lmb);
 }
 #else
+#define lmb_reserve(lmb, base, size)
 static inline void boot_start_lmb(bootm_headers_t *images) { }
 #endif
 
-- 
1.7.9.1



More information about the U-Boot mailing list