supports MMC, NAND and YMODEM and other methods loading of U-Boot
and the Linux Kernel. If unsure, say Y.
-config SPL_FRAMEWORK_BOARD_INIT_F
- bool "Define a generic function board_init_f"
- depends on SPL_FRAMEWORK
- help
- Define a generic function board_init_f that:
- - initialize the spl (spl_early_init)
- - initialize the serial (preloader_console_init)
- Unless you want to provide your own board_init_f, you should say Y.
-
config SPL_SIZE_LIMIT
hex "Maximum size of SPL image"
default 0x11000 if ARCH_MX6 && !MX6_OCRAM_256KB
return ret;
}
-#if defined(CONFIG_SPL_FRAMEWORK_BOARD_INIT_F)
-void board_init_f(ulong dummy)
-{
- if (CONFIG_IS_ENABLED(OF_CONTROL)) {
- int ret;
-
- ret = spl_early_init();
- if (ret) {
- debug("spl_early_init() failed: %d\n", ret);
- hang();
- }
- }
-
- preloader_console_init();
-}
-#endif
-
void board_init_r(gd_t *dummy1, ulong dummy2)
{
u32 spl_boot_list[] = {