]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
blk: Drop IF_TYPE_SD
authorSimon Glass <sjg@chromium.org>
Fri, 12 Aug 2022 01:34:55 +0000 (19:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Sep 2022 15:05:16 +0000 (11:05 -0400)
This is not really needed since it does the same things as MMC. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
disk/part.c
drivers/block/blk-uclass.c
include/blk.h

index a5c1d7a0aecf3dd3b4caa9dcd8aef58c3b4a06c3..2bcc6f4f40370e5ae0bc0aafb9786f8a38ecc53b 100644 (file)
@@ -135,7 +135,6 @@ void dev_print (struct blk_desc *dev_desc)
                        dev_desc->revision,
                        dev_desc->product);
                break;
-       case IF_TYPE_SD:
        case IF_TYPE_MMC:
        case IF_TYPE_USB:
        case IF_TYPE_NVME:
@@ -772,7 +771,6 @@ void part_set_generic_name(const struct blk_desc *dev_desc,
                devtype = "usbd";
                break;
        case IF_TYPE_MMC:
-       case IF_TYPE_SD:
                devtype = "mmcsd";
                break;
        default:
index 57230e9bab7953ac7ae7a3b1dd6ef3760773da0f..2fa6a7e68830fc5b1c1e0148a97182498165bfff 100644 (file)
@@ -22,7 +22,6 @@ static const char *if_typename_str[IF_TYPE_COUNT] = {
        [IF_TYPE_SCSI]          = "scsi",
        [IF_TYPE_USB]           = "usb",
        [IF_TYPE_MMC]           = "mmc",
-       [IF_TYPE_SD]            = "sd",
        [IF_TYPE_SATA]          = "sata",
        [IF_TYPE_HOST]          = "host",
        [IF_TYPE_NVME]          = "nvme",
@@ -37,7 +36,6 @@ static enum uclass_id if_type_uclass_id[IF_TYPE_COUNT] = {
        [IF_TYPE_SCSI]          = UCLASS_SCSI,
        [IF_TYPE_USB]           = UCLASS_MASS_STORAGE,
        [IF_TYPE_MMC]           = UCLASS_MMC,
-       [IF_TYPE_SD]            = UCLASS_INVALID,
        [IF_TYPE_SATA]          = UCLASS_AHCI,
        [IF_TYPE_HOST]          = UCLASS_ROOT,
        [IF_TYPE_NVME]          = UCLASS_NVME,
index c7461f9f35a6fdcf90990ac3e29ec89cccb6784f..cc30e3861fa084942230fd5f675b64c9052770ae 100644 (file)
@@ -33,7 +33,6 @@ enum if_type {
        IF_TYPE_SCSI,
        IF_TYPE_USB,
        IF_TYPE_MMC,
-       IF_TYPE_SD,
        IF_TYPE_SATA,
        IF_TYPE_HOST,
        IF_TYPE_NVME,