From d8a6c895d4bcb7b5ea0df9170166ad20b70ede1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sat, 26 Oct 2013 11:56:18 +0000 Subject: [PATCH] removed comment on USB controller initialization --- BaS_gcc/sources/pci.c | 12 ++++++++++++ BaS_gcc/sources/sysinit.c | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/BaS_gcc/sources/pci.c b/BaS_gcc/sources/pci.c index 0800eae..c8ae95f 100644 --- a/BaS_gcc/sources/pci.c +++ b/BaS_gcc/sources/pci.c @@ -29,6 +29,18 @@ #include "stdint.h" #include "bas_printf.h" +uint32_t pci_read_config_longword(uint16_t slot, uint16_t function, uint16_t offset) +{ + return 0; +} + + +uint16_t pci_read_config_word(uint16_t slot, uint16_t function, uint16_t offset) +{ + return 0; +} + +/* start of PCI initialization code */ void init_eport(void) { /* concigure IRQ1-7 pins on EPORT falling edge triggered */ diff --git a/BaS_gcc/sources/sysinit.c b/BaS_gcc/sources/sysinit.c index 03e845f..0f12c37 100644 --- a/BaS_gcc/sources/sysinit.c +++ b/BaS_gcc/sources/sysinit.c @@ -501,7 +501,7 @@ void test_upd720101(void) MCF_PCI_PCICAR_FUNCNUM(0) + MCF_PCI_PCICAR_DWORD(57); - //* (uint8_t *) PCI_IO_OFFSET = 0x20; // commented out (hangs currently) + * (uint8_t *) PCI_IO_OFFSET = 0x20; } else {