From f1120bb56392fe8d637c4e2c19cc3a9d821bd02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Thu, 6 Dec 2012 07:24:21 +0000 Subject: [PATCH] FireTOS boot hang due to not properly initializing serial port and slice timers. Fixed. --- SD_CARD/BaS_gcc/sources/sysinit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SD_CARD/BaS_gcc/sources/sysinit.c b/SD_CARD/BaS_gcc/sources/sysinit.c index 575cf3c..6464096 100644 --- a/SD_CARD/BaS_gcc/sources/sysinit.c +++ b/SD_CARD/BaS_gcc/sources/sysinit.c @@ -503,7 +503,7 @@ void test_upd720101(void) MCF_PCI_PCICAR_FUNCNUM(0) + MCF_PCI_PCICAR_DWORD(57); - * (uint8_t *) PCI_IO_OFFSET = 0x20; + //* (uint8_t *) PCI_IO_OFFSET = 0x20; } else { @@ -796,6 +796,8 @@ void initialize_hardware(void) { if (!(DIP_SWITCH & (1 << 6))) { /* Minimal hardware initialization */ init_gpio(); + init_serial(); + init_slt(); init_fbcs(); init_ddram(); init_fpga();