dm: Rename disk uclass to ahci

This started as 'ahci' and was renamed to 'disk' during code review. But it
seems that this is too generic. Now that we have a 'blk' uclass, we can use
that as the generic piece, and revert to ahci for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2016-05-01 11:35:52 -06:00
parent cf63084492
commit a219639d42
9 changed files with 14 additions and 12 deletions

View File

@@ -9,10 +9,9 @@ config BLK
be partitioned into several areas, called 'partitions' in U-Boot.
A filesystem can be placed in each partition.
config DISK
bool "Support disk controllers with driver model"
config AHCI
bool "Support SATA controllers with driver model"
depends on DM
default y if DM
help
This enables a uclass for disk controllers in U-Boot. Various driver
types can use this, such as AHCI/SATA. It does not provide any standard

View File

@@ -7,7 +7,7 @@
obj-$(CONFIG_BLK) += blk-uclass.o
obj-$(CONFIG_DISK) += disk-uclass.o
obj-$(CONFIG_AHCI) += ahci-uclass.o
obj-$(CONFIG_SCSI_AHCI) += ahci.o
obj-$(CONFIG_DWC_AHSATA) += dwc_ahsata.o
obj-$(CONFIG_FSL_SATA) += fsl_sata.o

View File

@@ -8,7 +8,7 @@
#include <common.h>
#include <dm.h>
UCLASS_DRIVER(disk) = {
.id = UCLASS_DISK,
.name = "disk",
UCLASS_DRIVER(ahci) = {
.id = UCLASS_AHCI,
.name = "ahci",
};