]> git.sur5r.net Git - u-boot/commitdiff
LMB: Fix undefined lmb_reserve() on non-lmb platforms
authorMarek Vasut <marex@denx.de>
Sun, 1 Apr 2012 03:59:46 +0000 (03:59 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 9 Apr 2012 14:53:07 +0000 (16:53 +0200)
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>
common/cmd_bootm.c

index 9ad2535d4bacc7fe6831c4c9838608ce5f16ffd2..5685232892a647aa221e5af381dfbb84ceb65632 100644 (file)
@@ -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