]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ahci: mmio_base is a virtual address
authorScott Wood <scottwood@freescale.com>
Fri, 17 Apr 2015 14:19:01 +0000 (09:19 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:29:04 +0000 (22:29 +0200)
commit54543bf686c88116216db93d9861d13f2303f596
tree8f7058cc35a99b61cec96a8dbde61be6fbbab906
parentf4d91a5b17147e778572bd79c0d08628d8a09197
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