From b7d60e168c5b26ed92663857ae0c02a046f1892a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Thu, 14 Nov 2013 22:57:49 +0000 Subject: [PATCH] added chip_errata() to word and byte config space writes --- BaS_gcc/sources/pci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BaS_gcc/sources/pci.c b/BaS_gcc/sources/pci.c index ee51006..52b94e6 100644 --- a/BaS_gcc/sources/pci.c +++ b/BaS_gcc/sources/pci.c @@ -274,6 +274,8 @@ int32_t pci_write_config_word(int32_t handle, int offset, uint16_t value) /* finish configuration space access cycle */ MCF_PCI_PCICAR &= ~MCF_PCI_PCICAR_E; + chip_errata_135(); + return PCI_SUCCESSFUL; } @@ -296,6 +298,7 @@ int32_t pci_write_config_byte(int32_t handle, int offset, uint8_t value) /* finish configuration space access cycle */ MCF_PCI_PCICAR &= ~MCF_PCI_PCICAR_E; + chip_errata_135(); return PCI_SUCCESSFUL;