summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-03-19 01:11:33 -0700
committerKeith Packard <keithp@keithp.com>2015-03-19 01:11:33 -0700
commitc3321bd9f73c89686fe983a8d99f4e54fa91550e (patch)
treeb37ad1cad8ac83961303cc846fb03091858dd44b /src/kernel
parentfce4e6926de7cb5ef6ea64a8db134c442b86153b (diff)
altos: Add the ability to configure a different USB vendor ID
ChaosKey will use an OpenMoko vid/pid, so we need the ability to configure a different USB vendor ID for each product. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/ao_product.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/ao_product.c b/src/kernel/ao_product.c
index baee8dd6..c711a4d2 100644
--- a/src/kernel/ao_product.c
+++ b/src/kernel/ao_product.c
@@ -49,7 +49,7 @@ AO_ROMCONFIG_SYMBOL(0x00aa) uint8_t ao_usb_descriptors [] =
0x00, /* bDeviceSubClass */
0x00, /* bDeviceProtocol */
AO_USB_CONTROL_SIZE, /* bMaxPacketSize */
- LE_WORD(0xFFFE), /* idVendor */
+ LE_WORD(AO_idVendor_NUMBER), /* idVendor */
LE_WORD(AO_idProduct_NUMBER), /* idProduct */
LE_WORD(0x0100), /* bcdDevice */
0x01, /* iManufacturer */