|
@@ -39,15 +39,7 @@ int print_cpuinfo(void)
|
|
|
return default_print_cpuinfo();
|
|
|
}
|
|
|
|
|
|
-int last_stage_init(void)
|
|
|
-{
|
|
|
- if (gd->flags & GD_FLG_COLD_BOOT)
|
|
|
- timestamp_add_to_bootstage();
|
|
|
-
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
-void board_final_cleanup(void)
|
|
|
+static void board_final_cleanup(void)
|
|
|
{
|
|
|
/*
|
|
|
* Un-cache the ROM so the kernel has one
|
|
@@ -79,6 +71,16 @@ void board_final_cleanup(void)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+int last_stage_init(void)
|
|
|
+{
|
|
|
+ if (gd->flags & GD_FLG_COLD_BOOT)
|
|
|
+ timestamp_add_to_bootstage();
|
|
|
+
|
|
|
+ board_final_cleanup();
|
|
|
+
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
int misc_init_r(void)
|
|
|
{
|
|
|
return 0;
|