diff options
| author | Greg Ungerer <[email protected]> | 2018-04-11 03:39:44 +0000 |
|---|---|---|
| committer | Greg Ungerer <[email protected]> | 2018-05-27 23:45:27 +0000 |
| commit | 082f55c459845088c3fee99c3a88ee117c148218 (patch) | |
| tree | 8c321b25d043797a12cef6ac7407c5b43c274947 /drivers/fpga/machxo2-spi.c | |
| parent | m68k: introduce iomem() macro for __iomem conversions (diff) | |
| download | kernel-082f55c459845088c3fee99c3a88ee117c148218.tar.gz kernel-082f55c459845088c3fee99c3a88ee117c148218.zip | |
m68k: fix ColdFire PCI config reads and writes
The ColdFire PCI configuration space access functions swap addressing
regions to do their work. Just letting the read/write cycles exit
the CPU core (via the ColdFire "nop" instruction) is not enough to
guarantee that the address region remapping has actually completed.
Insert a read back of the mapping register to be absolutely sure
that the remapping has completed.
This fixes an occasional boot hang during the ColdFire PCI initialization
phase.
Signed-off-by: Greg Ungerer <[email protected]>
Reviewed-by: Angelo Dureghello <[email protected]>
Tested-by: Angelo Dureghello <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
