aboutsummaryrefslogtreecommitdiff
path: root/src/arch/ppc/init/ppc_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/ppc/init/ppc_main.c')
-rw-r--r--src/arch/ppc/init/ppc_main.c52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/arch/ppc/init/ppc_main.c b/src/arch/ppc/init/ppc_main.c
deleted file mode 100644
index 150deeea67..0000000000
--- a/src/arch/ppc/init/ppc_main.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (C) 2003 by Greg Watson, Los Alamos National Laboratory
- * gwatson@lanl.gov
- */
-
-#include <board.h>
-#include <sdram.h>
-#include <cbfs.h>
-
-/*
- * At this point we're running out of flash with our
- * stack in cache ram. We need to do the following:
- *
- * - turn on real memory
- * - relocate our payload into real memory
- * - start hardwaremain() which does remainder of setup
- */
-
-extern void flush_dcache(void);
-
-void ppc_main(void)
-{
- void (*payload)(void);
-
- /*
- * very early board initialization
- */
- board_init();
-
- /*
- * turn on memory
- */
- memory_init();
-
- /*
- * final initialization before jumping to payload
- */
- board_init2();
-
- /*
- * Flush cache now that memory is enabled.
- */
- flush_dcache();
-
- /*
- * Relocate payload (text & data)
- */
- payload = cbfs_load_stage("fallback/coreboot_ram");
- payload();
-
- /* NOT REACHED */
-}