From b37d41aa24aedd84f718d019e5b7a27a06aa73fc Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 4 Mar 2012 15:11:32 +0000 Subject: Block: Remove MG DISK support This driver is unused and obsolete. Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: unsik Kim --- disk/part.c | 6 ------ disk/part_amiga.c | 1 - disk/part_dos.c | 1 - disk/part_efi.c | 1 - disk/part_iso.c | 1 - disk/part_mac.c | 1 - 6 files changed, 11 deletions(-) (limited to 'disk') diff --git a/disk/part.c b/disk/part.c index 8ca5d4bdfc..76f393900a 100644 --- a/disk/part.c +++ b/disk/part.c @@ -35,7 +35,6 @@ #endif #if (defined(CONFIG_CMD_IDE) || \ - defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SATA) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_USB) || \ @@ -65,9 +64,6 @@ static const struct block_drvr block_drvr[] = { #endif #if defined(CONFIG_SYSTEMACE) { .name = "ace", .get_dev = systemace_get_dev, }, -#endif -#if defined(CONFIG_CMD_MG_DISK) - { .name = "mgd", .get_dev = mg_disk_get_dev, }, #endif { }, }; @@ -108,7 +104,6 @@ block_dev_desc_t *get_dev(char* ifname, int dev) #endif #if (defined(CONFIG_CMD_IDE) || \ - defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SATA) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_USB) || \ @@ -244,7 +239,6 @@ void dev_print (block_dev_desc_t *dev_desc) #endif #if (defined(CONFIG_CMD_IDE) || \ - defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SATA) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_USB) || \ diff --git a/disk/part_amiga.c b/disk/part_amiga.c index 50efe39b1b..dc7d46256d 100644 --- a/disk/part_amiga.c +++ b/disk/part_amiga.c @@ -27,7 +27,6 @@ #include "part_amiga.h" #if defined(CONFIG_CMD_IDE) || \ - defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_USB) || \ defined(CONFIG_MMC) || \ diff --git a/disk/part_dos.c b/disk/part_dos.c index c028aaf1b1..a43dd9c022 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -36,7 +36,6 @@ #include "part_dos.h" #if defined(CONFIG_CMD_IDE) || \ - defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SATA) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_USB) || \ diff --git a/disk/part_efi.c b/disk/part_efi.c index b6cda57ff5..02927a0d9d 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -38,7 +38,6 @@ #include #if defined(CONFIG_CMD_IDE) || \ - defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SATA) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_USB) || \ diff --git a/disk/part_iso.c b/disk/part_iso.c index 990da956cf..4401790af2 100644 --- a/disk/part_iso.c +++ b/disk/part_iso.c @@ -26,7 +26,6 @@ #include "part_iso.h" #if defined(CONFIG_CMD_IDE) || \ - defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_SATA) || \ defined(CONFIG_CMD_USB) || \ diff --git a/disk/part_mac.c b/disk/part_mac.c index bebe415d62..c1afc8c20a 100644 --- a/disk/part_mac.c +++ b/disk/part_mac.c @@ -35,7 +35,6 @@ #include "part_mac.h" #if defined(CONFIG_CMD_IDE) || \ - defined(CONFIG_CMD_MG_DISK) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_SATA) || \ defined(CONFIG_CMD_USB) || \ -- cgit v1.2.3