]> git.baikalelectronics.ru Git - uboot.git/commit
dm: ahci: Create a local version of two SCSI functions
authorSimon Glass <sjg@chromium.org>
Thu, 15 Jun 2017 03:28:42 +0000 (21:28 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit4e9abc2caf16cefc0af4ea5e3b6a8f9fbf116205
treebf8e0d5d91b41eb3e7d01f66035812a24b686188
parent70464d2c9ce9053ec9bff03873b95503130d6ff8
dm: ahci: Create a local version of two SCSI functions

With driver model we need to define implementations of exec() and
bus_reset() separately for each SCSI driver. As a first step, create a
local version of each function in the AHCI driver and call each from its
global version.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/ata/ahci.c