Sansa View: define a GPIO bit for USB detection in order to compile the bootloader.
Change-Id: I748a49f4b48385f328946e861d1f9a026b1efd7d
This commit is contained in:
parent
173d9c6750
commit
938aa8eefe
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue