diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-03 22:04:17 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-03 22:04:17 +0200 |
commit | 730f298485984b011b6ee8f4acb511cb45a843dd (patch) | |
tree | 79306478c821236fa0edfc80d3941db7e9a3ae92 /lib_ppc | |
parent | 322ef5e28d2dc62571afc699b00add22a8e006e4 (diff) | |
download | u-boot-midas-730f298485984b011b6ee8f4acb511cb45a843dd.tar.gz u-boot-midas-730f298485984b011b6ee8f4acb511cb45a843dd.tar.bz2 u-boot-midas-730f298485984b011b6ee8f4acb511cb45a843dd.zip |
lmb: fix "implicit declaration of function 'lmb_free'" warning
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index 9db1c2e3bf..3c1c18b46c 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -212,7 +212,7 @@ do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], } /* Delete the old LMB reservation */ - lmb_free(lmb, of_flat_tree, fdt_totalsize(of_flat_tree)); + lmb_free(lmb, (uint64_t)of_flat_tree, fdt_totalsize(of_flat_tree)); /* Calculate the actual size of the fdt */ actualsize = fdt_off_dt_strings(of_flat_tree) + |