summaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
authorGerald Van Baren <vanbaren@cideas.com>2007-04-06 14:19:43 -0400
committerGerald Van Baren <vanbaren@cideas.com>2007-04-06 14:19:43 -0400
commit64dbbd40c58349b64f43fd33dbb5ca0adb67d642 (patch)
treeeffa2f40e05d50b03d4dbb5422f060f3f8b217c4 /common/cmd_bootm.c
parent6679f9299534e488a171a9bb8f9bb891de247aab (diff)
downloadu-boot-imx-64dbbd40c58349b64f43fd33dbb5ca0adb67d642.zip
u-boot-imx-64dbbd40c58349b64f43fd33dbb5ca0adb67d642.tar.gz
u-boot-imx-64dbbd40c58349b64f43fd33dbb5ca0adb67d642.tar.bz2
Moved fdt command support code to fdt_support.c
...in preparation for improving the bootm command's handling of fdt blobs. Also cleaned up some coding sloppiness.
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r--common/cmd_bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 2721216b..3eeb03c 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -950,7 +950,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
printf (" Loading Device Tree to %08lx, end %08lx ... ",
of_start, of_start + of_len - 1);
- err = fdt_open_into(of_start, of_data, of_len);
+ err = fdt_open_into((void *)of_start, (void *)of_data, of_len);
if (err != 0) {
printf ("libfdt: %s\n", fdt_strerror(err));
}