mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
Fix warnings from of_data copy fix
Forgot to cast of_flat_tree to ulong. Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
7613afda77
commit
82bd9ee774
1 changed files with 2 additions and 2 deletions
|
@ -932,7 +932,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
|
|||
* so we flag it to be copied if it is not.
|
||||
*/
|
||||
if (of_flat_tree >= (char *)CFG_BOOTMAPSZ)
|
||||
of_data = of_flat_tree;
|
||||
of_data = (ulong)of_flat_tree;
|
||||
#endif
|
||||
|
||||
/* move of_flat_tree if needed */
|
||||
|
@ -993,7 +993,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
|
|||
* so we flag it to be copied if it is not.
|
||||
*/
|
||||
if (of_flat_tree >= (char *)CFG_BOOTMAPSZ)
|
||||
of_data = of_flat_tree;
|
||||
of_data = (ulong)of_flat_tree;
|
||||
#endif
|
||||
|
||||
/* move of_flat_tree if needed */
|
||||
|
|
Loading…
Add table
Reference in a new issue