Skip to content
Snippets Groups Projects
Commit 82bd9ee7 authored by Andy Fleming's avatar Andy Fleming Committed by Wolfgang Denk
Browse files

Fix warnings from of_data copy fix


Forgot to cast of_flat_tree to ulong.

Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 7613afda
No related branches found
No related tags found
No related merge requests found
...@@ -932,7 +932,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag, ...@@ -932,7 +932,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
* so we flag it to be copied if it is not. * so we flag it to be copied if it is not.
*/ */
if (of_flat_tree >= (char *)CFG_BOOTMAPSZ) if (of_flat_tree >= (char *)CFG_BOOTMAPSZ)
of_data = of_flat_tree; of_data = (ulong)of_flat_tree;
#endif #endif
/* move of_flat_tree if needed */ /* move of_flat_tree if needed */
...@@ -993,7 +993,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag, ...@@ -993,7 +993,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
* so we flag it to be copied if it is not. * so we flag it to be copied if it is not.
*/ */
if (of_flat_tree >= (char *)CFG_BOOTMAPSZ) if (of_flat_tree >= (char *)CFG_BOOTMAPSZ)
of_data = of_flat_tree; of_data = (ulong)of_flat_tree;
#endif #endif
/* move of_flat_tree if needed */ /* move of_flat_tree if needed */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment