diff options
Diffstat (limited to 'src/soc/imgtec/pistachio/romstage.c')
-rw-r--r-- | src/soc/imgtec/pistachio/romstage.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/soc/imgtec/pistachio/romstage.c b/src/soc/imgtec/pistachio/romstage.c index 3fcf23d461..a10db1682f 100644 --- a/src/soc/imgtec/pistachio/romstage.c +++ b/src/soc/imgtec/pistachio/romstage.c @@ -21,9 +21,17 @@ #include <program_loading.h> #include <console/console.h> +#include <halt.h> +#include <soc/ddr_init.h> void main(void) { + int error; console_init(); - run_ramstage(); + error = init_ddr2(); + + if (!error) { + run_ramstage(); + } + halt(); } |