]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix warnings from of_data copy fix
authorAndy Fleming <afleming@freescale.com>
Thu, 16 Aug 2007 01:06:50 +0000 (20:06 -0500)
committerWolfgang Denk <wd@denx.de>
Thu, 16 Aug 2007 10:12:54 +0000 (12:12 +0200)
Forgot to cast of_flat_tree to ulong.

Signed-off-by: Andy Fleming <afleming@freescale.com>
common/cmd_bootm.c

index 90e3f8b9afe465608468a9c7629b5a6e21d809d9..bcb927fd1055d61fe4e68f462b1ee43697aec6db 100644 (file)
@@ -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 */