diff options
author | Marek Vasut <marex@denx.de> | 2012-04-01 03:59:46 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-04-09 16:53:07 +0200 |
commit | 35cf5fe51076fb0c8894b5875a8f55f230dd75c2 (patch) | |
tree | 92536c72fe8ddcf275afa1263d94368e0507d5c7 /common/cmd_bootm.c | |
parent | c008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5 (diff) | |
download | u-boot-imx-35cf5fe51076fb0c8894b5875a8f55f230dd75c2.zip u-boot-imx-35cf5fe51076fb0c8894b5875a8f55f230dd75c2.tar.gz u-boot-imx-35cf5fe51076fb0c8894b5875a8f55f230dd75c2.tar.bz2 |
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/cmd_bootm.c')
-rw-r--r-- | 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 |