|
@@ -172,12 +172,6 @@ volatile uint32_t __dram_bss test_dram[8];
|
|
|
|
|
|
static void __noinline late_init(void)
|
|
|
{
|
|
|
- /* This needs to be done as early as possible!!! */
|
|
|
- con_puts("Running abc_init_memmap: ");
|
|
|
- con_flush();
|
|
|
- abc_init_memmap();
|
|
|
- con_puts("ok\n");
|
|
|
-
|
|
|
if (SYS_MAGIC != SYS_MAGIC_MAX80) {
|
|
|
con_puts("Not a MAX80 board?!?!\n\n");
|
|
|
_die();
|
|
@@ -229,11 +223,13 @@ static void __noinline late_init(void)
|
|
|
|
|
|
set_leds(3);
|
|
|
|
|
|
- read_rtc();
|
|
|
- rtc_abc_init();
|
|
|
+ abc_init_memmap();
|
|
|
|
|
|
set_leds(2);
|
|
|
|
|
|
+ read_rtc();
|
|
|
+ rtc_abc_init();
|
|
|
+
|
|
|
sdcard_reset();
|
|
|
abcdisk_init();
|
|
|
|