From 0173d6260ece2db27f08ef4ba3f51be0c4bb9dff 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 --- sources/pci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sources/pci.c b/sources/pci.c index ee51006..52b94e6 100644 --- a/sources/pci.c +++ b/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;