]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
block: ahci: Don't enable port interrupts
authorStefan Roese <sr@denx.de>
Mon, 29 Jun 2015 12:58:12 +0000 (14:58 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:20 +0000 (13:29 +0200)
commit738146b80b52ee8ff572e1424d18b9db9efe63a2
treef0d78578b39ae86d1cad7cb14f5d98ee3226b3d7
parent7bc09404b2bd49354f4a6798f8a92555d87640df
block: ahci: Don't enable port interrupts

This patch changes the initialization of the AHCI controller to not
enable the default interrupts (DEF_PORT_IRQ). As interrupts are
not used in U-Boot in general, this should not break the common AHCI
driver operation.

This change is needed to support the Marvell Armada 38x AHCI
controller. With interrupts enabled, this results in timeouts in
ahci_device_data_io(). Not enabling these interrupts fixes this
problem and the common AHCI driver works fine.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Luka Perkov <luka.perkov@sartura.hr>
drivers/block/ahci.c