diff --git a/BaS_gcc.config b/BaS_gcc.config index 146302d..57e7dce 100644 --- a/BaS_gcc.config +++ b/BaS_gcc.config @@ -1,3 +1,4 @@ // Add predefined macros for your project here. For example: // #define THE_ANSWER 42 -#define MACHINE_FIREBEE +//#define MACHINE_FIREBEE +#define MACHINE_M5484LITE diff --git a/pci/pci.c b/pci/pci.c index f1b2b39..bd486f6 100644 --- a/pci/pci.c +++ b/pci/pci.c @@ -974,7 +974,7 @@ static void pci_bridge_config(uint16_t bus, uint16_t device, uint16_t function) pci_write_config_longword(handle, PCIBISTR, MCF_PCI_PCICR1_CACHELINESIZE(8) | MCF_PCI_PCICR1_LATTIMER(0x20)); - pci_write_config_longword(handle, PCIBAR0, swpl(0x80000000)); + pci_write_config_longword(handle, PCIBAR0, swpl(0x00000000)); pci_write_config_longword(handle, PCIBAR1, 0x0); pci_write_config_word(handle, PCI_LANESWAP_W(PCICR), swpw( (1 << 1) /* memory space */