[U-Boot] [PATCH v4 8/8] main: Use autoconf in main_loop()

2013-10-26 Thread Simon Glass
Convert main_loop() over to use autoconf, and add a required prototype to common.h. The do_mdm_init variable is now always defined, but this seems like an acceptable compromise. In fdt_support.h the #ifdef used is CONFIG_OF_LIBFDT. However, even if this is not defined we want to make the function

[U-Boot] [PATCH v4 8/8] main: Use autoconf in main_loop()

2013-06-17 Thread Simon Glass
Convert main_loop() over to use autoconf, and add a required prototype to common.h. The do_mdm_init variable is now always defined, but this seems like an acceptable compromise. In fdt_support.h the #ifdef used is CONFIG_OF_LIBFDT. However, even if this is not defined we want to make the function