summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-04-01 03:59:46 (GMT)
committerMarek Vasut <marex@denx.de>2012-04-02 13:54:53 (GMT)
commitf4cdde40195078a9183a0e29f741dac31ea3d425 (patch)
treeb31e2690ffb1bcef6a77a21dba8937536fc93332
parent6cb461b4f1531dbae5c0bae857f649b7943114ec (diff)
downloadu-boot-fsl-qoriq-f4cdde40195078a9183a0e29f741dac31ea3d425.tar.xz
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>
-rw-r--r--common/cmd_bootm.c1
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