diff options
author | Andy Fleming <afleming@freescale.com> | 2008-07-07 14:24:39 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-10 00:39:28 +0200 |
commit | 98874ff329d4a5b32c467b43f6e966e1aa68479f (patch) | |
tree | 18bbde0bbeead87f55171c259c05c91ace1ee192 /include/lmb.h | |
parent | da8693a91b8eef75ade8de50a1b2ce035bc5fb54 (diff) | |
download | bootable_bootloader_goldelico_gta04-98874ff329d4a5b32c467b43f6e966e1aa68479f.zip bootable_bootloader_goldelico_gta04-98874ff329d4a5b32c467b43f6e966e1aa68479f.tar.gz bootable_bootloader_goldelico_gta04-98874ff329d4a5b32c467b43f6e966e1aa68479f.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lmb.h b/include/lmb.h index 0283075..14e8727 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); |