[U-Boot-Users] simplify bootm command

Kumar Gala galak at kernel.crashing.org
Tue Aug 5 05:51:32 CEST 2008


If we really want to simplify what bootm does than I think we should  
remove ft_board_setup() from lib_ppc/bootm.c and expect any actually  
modification of the device tree to have already occurred.

Is this something we'd really be willing to do?

- k

diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c
index 81803dd..8a86d52 100644
--- a/lib_ppc/bootm.c
+++ b/lib_ppc/bootm.c
@@ -190,10 +190,6 @@ do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int  
argc, char *argv[],
                         fdt_error ("/chosen node create failed");
                         goto error;
                 }
-#ifdef CONFIG_OF_BOARD_SETUP
-               /* Call the board-specific fixup routine */
-               ft_board_setup(of_flat_tree, gd->bd);
-#endif
         }

         /* Fixup the fdt memreserve now that we know how big it is */





More information about the U-Boot mailing list