summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-04-01 03:59:46 +0000
committerWolfgang Denk <wd@denx.de>2012-04-09 16:53:07 +0200
commit35cf5fe51076fb0c8894b5875a8f55f230dd75c2 (patch)
tree92536c72fe8ddcf275afa1263d94368e0507d5c7 /common
parentc008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5 (diff)
downloadu-boot-35cf5fe51076fb0c8894b5875a8f55f230dd75c2.tar.gz
u-boot-35cf5fe51076fb0c8894b5875a8f55f230dd75c2.tar.xz
u-boot-35cf5fe51076fb0c8894b5875a8f55f230dd75c2.zip
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>
Diffstat (limited to 'common')
-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 9ad2535d4b..5685232892 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