summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2012-04-01 03:59:46 +0000
committerMarek Vasut <[email protected]>2012-04-02 15:54:53 +0200
commitf4cdde40195078a9183a0e29f741dac31ea3d425 (patch)
treeb31e2690ffb1bcef6a77a21dba8937536fc93332
parent6cb461b4f1531dbae5c0bae857f649b7943114ec (diff)
LMB: Fix undefined lmb_reserve() on non-lmb platforms
Signed-off-by: Marek Vasut <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Mike Frysinger <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Tom Warren <[email protected]> Cc: Graeme Russ <[email protected]> Acked-by: Mike Frysinger <[email protected]>
-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 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