ahci: mmio_base is a virtual address
authorScott Wood <scottwood@freescale.com>
Fri, 17 Apr 2015 14:19:01 +0000 (09:19 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 18 Apr 2015 20:54:29 +0000 (16:54 -0400)
commit9efaca3e847696ed40fca1dbbc621fcc35b8d94c
tree2d97706c0a7393f5c716cecb46c1869131a507bd
parent3907305fb97c4547af5a03a0107b013ed7e886ca
ahci: mmio_base is a virtual address

Don't store it in a u32.

Don't dereference the bus address as if it were a virtual address
(fixes 284231e49a2b4 ("ahci: Support splitting of read transactions
into multiple chunks")).

Fixes crash on boot in MPC8641HPCN_36BIT target.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Vadim Bendebury <vbendeb@chromium.org>
Acked-by: York Sun <yorksun@freescale.com>
arch/arm/cpu/armv7/omap-common/boot-common.c
arch/arm/cpu/armv7/omap-common/sata.c
board/highbank/highbank.c
board/sunxi/ahci.c
drivers/block/ahci.c
drivers/block/dwc_ahsata.c
include/ahci.h