|
|
@ -40,6 +40,7 @@ |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#include <mmc.h> |
|
|
|
#include <mmc.h> |
|
|
|
#include <nand.h> |
|
|
|
#include <nand.h> |
|
|
|
|
|
|
|
#include <of_live.h> |
|
|
|
#include <onenand_uboot.h> |
|
|
|
#include <onenand_uboot.h> |
|
|
|
#include <scsi.h> |
|
|
|
#include <scsi.h> |
|
|
|
#include <serial.h> |
|
|
|
#include <serial.h> |
|
|
@ -292,6 +293,14 @@ static int initr_noncached(void) |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef CONFIG_OF_LIVE |
|
|
|
|
|
|
|
static int initr_of_live(void) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return of_live_build(gd->fdt_blob, |
|
|
|
|
|
|
|
(struct device_node **)&gd->of_root); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifdef CONFIG_DM |
|
|
|
#ifdef CONFIG_DM |
|
|
|
static int initr_dm(void) |
|
|
|
static int initr_dm(void) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -722,6 +731,9 @@ static init_fnc_t init_sequence_r[] = { |
|
|
|
initr_noncached, |
|
|
|
initr_noncached, |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
bootstage_relocate, |
|
|
|
bootstage_relocate, |
|
|
|
|
|
|
|
#ifdef CONFIG_OF_LIVE |
|
|
|
|
|
|
|
initr_of_live, |
|
|
|
|
|
|
|
#endif |
|
|
|
#ifdef CONFIG_DM |
|
|
|
#ifdef CONFIG_DM |
|
|
|
initr_dm, |
|
|
|
initr_dm, |
|
|
|
#endif |
|
|
|
#endif |
|
|
|