summaryrefslogtreecommitdiff
path: root/include/lmb.h
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-07-07 14:24:39 -0500
committerWolfgang Denk <wd@denx.de>2008-07-10 00:39:28 +0200
commit98874ff329d4a5b32c467b43f6e966e1aa68479f (patch)
tree18bbde0bbeead87f55171c259c05c91ace1ee192 /include/lmb.h
parentda8693a91b8eef75ade8de50a1b2ce035bc5fb54 (diff)
Fix LMB type issues
The LMB code now uses phys_addr_t and phys_size_t. Also, there were a couple of casting problems in the bootm code that called the LMB functions. Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/lmb.h')
-rw-r--r--include/lmb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lmb.h b/include/lmb.h
index 0283075639..14e8727f06 100644
--- a/include/lmb.h
+++ b/include/lmb.h
@@ -43,7 +43,7 @@ extern phys_addr_t lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align
extern phys_addr_t __lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align,
phys_addr_t max_addr);
extern int lmb_is_reserved(struct lmb *lmb, phys_addr_t addr);
-extern long lmb_free(struct lmb *lmb, u64 base, u64 size);
+extern long lmb_free(struct lmb *lmb, phys_addr_t base, phys_size_t size);
extern void lmb_dump_all(struct lmb *lmb);