Message ID | 1613031446-22154-2-git-send-email-sai.pavan.boddu@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | eMMC support | expand |
On Thu, Feb 11, 2021 at 12:15 AM Sai Pavan Boddu <sai.pavan.boddu@xilinx.com> wrote: > > From: Vincent Palatin <vpalatin@chromium.org> > > Add new block device type. > > Signed-off-by: Vincent Palatin <vpalatin@chromium.org> > [SPB: Rebased over 5.1 version] > Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com> > Signed-off-by: Joel Stanley <joel@jms.id.au> > Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Alistair > --- > blockdev.c | 1 + > include/sysemu/blockdev.h | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/blockdev.c b/blockdev.c > index b250b9b..593ce44 100644 > --- a/blockdev.c > +++ b/blockdev.c > @@ -83,6 +83,7 @@ static const char *const if_name[IF_COUNT] = { > [IF_SD] = "sd", > [IF_VIRTIO] = "virtio", > [IF_XEN] = "xen", > + [IF_EMMC] = "emmc", > }; > > static int if_max_devs[IF_COUNT] = { > diff --git a/include/sysemu/blockdev.h b/include/sysemu/blockdev.h > index 3b5fcda..eefae9f 100644 > --- a/include/sysemu/blockdev.h > +++ b/include/sysemu/blockdev.h > @@ -24,6 +24,7 @@ typedef enum { > */ > IF_NONE = 0, > IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO, IF_XEN, > + IF_EMMC, > IF_COUNT > } BlockInterfaceType; > > -- > 2.7.4 > >
diff --git a/blockdev.c b/blockdev.c index b250b9b..593ce44 100644 --- a/blockdev.c +++ b/blockdev.c @@ -83,6 +83,7 @@ static const char *const if_name[IF_COUNT] = { [IF_SD] = "sd", [IF_VIRTIO] = "virtio", [IF_XEN] = "xen", + [IF_EMMC] = "emmc", }; static int if_max_devs[IF_COUNT] = { diff --git a/include/sysemu/blockdev.h b/include/sysemu/blockdev.h index 3b5fcda..eefae9f 100644 --- a/include/sysemu/blockdev.h +++ b/include/sysemu/blockdev.h @@ -24,6 +24,7 @@ typedef enum { */ IF_NONE = 0, IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO, IF_XEN, + IF_EMMC, IF_COUNT } BlockInterfaceType;