Create new fdt boardsetup command, fix bug parsing [] form of set values.
[platform/kernel/u-boot.git] / common / fdt_support.c
index ec04a63..259bd42 100644 (file)
 #include <libfdt.h>
 #include <fdt_support.h>
 
-#ifdef CONFIG_OF_BOARD_SETUP
-void ft_board_setup(void *blob, bd_t *bd);
-#endif
-
 /*
  * Global data (for the gd->bd)
  */
@@ -62,17 +58,6 @@ int fdt_chosen(void *fdt, ulong initrd_start, ulong initrd_end, int force)
                return err;
        }
 
-#ifdef CONFIG_OF_BOARD_SETUP
-       /*
-        * ft_board_setup() sets various board-specific properties to
-        * the proper values.
-        *
-        * STRICTLY SPEAKING, this is out of place, but it isn't clear
-        * where a better place would be.
-        */
-       ft_board_setup(fdt, bd);
-#endif
-
        if (initrd_start && initrd_end) {
                struct fdt_reserve_entry re;
                int  used;