ahci: Add a disk-controller uclass
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:34 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:09:39 +0000 (12:09 +0800)
commite3b5f04143a859092d4e09f61e526790836714f2
tree6625e369c66db2fb61bbf7d1299ba3b089acc6e1
parent887cba8f38e237735bb1d84b34dfbbf032e5b6b6
ahci: Add a disk-controller uclass

Add a uclass ID for a disk controller. This can be used by AHCI/SATA or
other controller types. There are no operations and no interface so far,
but it is possible to probe a SATA device.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/block/Kconfig
drivers/block/Makefile
drivers/block/disk-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h