diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-25 22:17:36 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-25 22:17:36 +0000 |
commit | b56f2d0ad4bfc81e7ef5ffd406c652f2c3bd954a (patch) | |
tree | ec2bbc0918ee3e1f2ee66491c7b87da204e607da /payloads/libpayload/include/usb/usbmsc.h | |
parent | e5d30b78b7720ba3e511819b7fc51c11d642153b (diff) | |
download | coreboot-b56f2d0ad4bfc81e7ef5ffd406c652f2c3bd954a.tar.xz |
USB updates from our internal tree
- support MMC2 devices
- make usb stack more solid
- drop some unused functions
- fix lowspeed/speed naming
- add support for "quirks"
- improve usbhid driver
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Joseph Smith <joe@settoplinux.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5299 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include/usb/usbmsc.h')
-rw-r--r-- | payloads/libpayload/include/usb/usbmsc.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/payloads/libpayload/include/usb/usbmsc.h b/payloads/libpayload/include/usb/usbmsc.h index e180d3e64a..b8a8ec13c9 100644 --- a/payloads/libpayload/include/usb/usbmsc.h +++ b/payloads/libpayload/include/usb/usbmsc.h @@ -1,7 +1,7 @@ /* * This file is part of the libpayload project. * - * Copyright (C) 2008 coresystems GmbH + * Copyright (C) 2008-2010 coresystems GmbH * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,6 +32,7 @@ typedef struct { unsigned int blocksize; unsigned int numblocks; + unsigned int protocol; endpoint_t *bulk_in; endpoint_t *bulk_out; } usbmsc_inst_t; @@ -41,7 +42,7 @@ typedef struct { typedef enum { cbw_direction_data_in = 0x80, cbw_direction_data_out = 0 } cbw_direction; -int readwrite_blocks (usbdev_t *dev, int start, int n, cbw_direction dir, - u8 *buf); +int readwrite_blocks_512 (usbdev_t *dev, int start, int n, cbw_direction dir, u8 *buf); +int readwrite_blocks (usbdev_t *dev, int start, int n, cbw_direction dir, u8 *buf); #endif |