Sansa View: define a GPIO bit for USB detection in order to compile the bootloader.

Change-Id: I748a49f4b48385f328946e861d1f9a026b1efd7d
This commit is contained in:
Szymon Dziok 2014-03-27 22:29:34 +00:00
parent 173d9c6750
commit 938aa8eefe

View file

@ -93,6 +93,12 @@
#define USB_GPIO_MASK 0x04
#define USB_GPIO_VAL 0x04
#elif defined(SANSA_VIEW)
/* GPIO A bit 7 is usb detect */
#define USB_GPIO GPIOA
#define USB_GPIO_MASK 0x80
#define USB_GPIO_VAL 0x80
#else
#error No USB GPIO config specified
#endif