From: Marek Vasut Date: Sun, 1 Apr 2012 03:59:46 +0000 (+0000) Subject: LMB: Fix undefined lmb_reserve() on non-lmb platforms X-Git-Tag: v2012.04-rc2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35cf5fe51076fb0c8894b5875a8f55f230dd75c2;p=pandora-u-boot.git LMB: Fix undefined lmb_reserve() on non-lmb platforms Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Mike Frysinger Cc: Stephen Warren Cc: Tom Warren Cc: Graeme Russ Acked-by: Mike Frysinger --- diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 9ad2535d4ba..5685232892a 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