swapped out pci initialization into separate source file (still needs some testing bevore removing the original)

This commit is contained in:
Markus Fröschle
2013-10-21 10:03:00 +00:00
parent 33240aa13d
commit 22ee5f01c1
5 changed files with 45 additions and 21 deletions

View File

@@ -30,6 +30,7 @@
#include "startcf.h"
#include "cache.h"
#include "sysinit.h"
#include "pci.h"
#include "bas_printf.h"
#include "bas_string.h"
#include "bas_types.h"
@@ -481,12 +482,6 @@ void init_video_ddr(void) {
xprintf("finished\r\n");
}
#define PCI_MEMORY_OFFSET (0x80000000)
#define PCI_MEMORY_SIZE (0x40000000)
#define PCI_IO_OFFSET (0xD0000000)
#define PCI_IO_SIZE (0x10000000)
/*
* INIT PCI
*/
@@ -990,7 +985,9 @@ void initialize_hardware(void) {
init_slt();
init_fbcs();
init_ddram();
init_PCI();
init_pci();
init_eport();
init_xlbus_arbiter();
init_fpga();
init_pll();
init_video_ddr();