summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/Drivers/Isp1761UsbDxe
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2016-05-06 18:19:07 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-05-10 14:48:48 +0200
commit73683a2464e2f81b7b9dfb9b84b537290235bbe1 (patch)
tree8132fc4ae387013b37666a3780cf28e18647f2c6 /EmbeddedPkg/Drivers/Isp1761UsbDxe
parent28f52b9fae9feba369ff0d773e0b0e610c0aa6f8 (diff)
downloadedk2-73683a2464e2f81b7b9dfb9b84b537290235bbe1.tar.gz
edk2-73683a2464e2f81b7b9dfb9b84b537290235bbe1.tar.bz2
edk2-73683a2464e2f81b7b9dfb9b84b537290235bbe1.zip
EmbeddedPkg/Lan9118Dxe: add LAN9118 MMIO wrappers
As described in the LAN9118 datasheet, delays are necessary after some reads and writes in order to ensure subsequent reads do not see stale data. This patch adds helpers to provide these delays automatically, by performing dummy reads of the BYTE_TEST register (as recommended in the LAN9118 datasheet). This approach allows the device register file itself to provide the required delay, avoiding issues with early write acknowledgement, or re-ordering of MMIO accesses aganist other instructions (e.g. the delay loop). Cc: Leif Lindholm <leif.lindholm@linaro.org> Cc: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Mark Rutland <mark.rutland@arm.com> Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'EmbeddedPkg/Drivers/Isp1761UsbDxe')
0 files changed, 0 insertions, 0 deletions