U-Boot: save passed FDT and call common code

* should work better this way :D
This commit is contained in:
François Revol
2012-05-17 20:46:46 +02:00
parent de1c936185
commit b011337e20
+4 -1
View File
@@ -56,6 +56,8 @@ extern struct image_header *gUImage;
extern uboot_gd *gUBootGlobalData;
extern uint32 gUBootOS;
void * gFDT = NULL;
static uint32 sBootOptions;
@@ -146,7 +148,8 @@ extern "C" int
start_linux_ppc_fdt(void *fdt, long/*UNUSED*/, long/*UNUSED*/,
uint32 epapr_magic, uint32 initial_mem_size)
{
return 1;
gFDT = fdt; //XXX: make a copy?
return start_raw(0, NULL);
}