diff options
| author | Keith Packard <keithp@keithp.com> | 2016-02-15 15:26:00 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2016-02-15 15:26:00 -0800 | 
| commit | 05354b8fee6a9af05d66bb7f4761f597da038fdd (patch) | |
| tree | 52efb68eac266b59572be62f6b38e7241d5f84a8 /src/chaoskey-v0.1 | |
| parent | 5637c1b2fd7232842245af1437e33b5bb1583c7d (diff) | |
altos/chaoskey: Use SoC device ID as serial number
To make manufacturing these devices tractable, we don't want to
require a custom firmware load for each device, but we still want a
unique serial number. Fortunately, the SoC provides a 96-bit ID which
we can use.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/chaoskey-v0.1')
| -rw-r--r-- | src/chaoskey-v0.1/ao_pins.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chaoskey-v0.1/ao_pins.h b/src/chaoskey-v0.1/ao_pins.h index a8109282..6ec582a9 100644 --- a/src/chaoskey-v0.1/ao_pins.h +++ b/src/chaoskey-v0.1/ao_pins.h @@ -52,6 +52,7 @@  #define AO_USB_HAS_IN			1  #define AO_USB_HAS_INT			0  #define AO_USB_SELF_POWER		0 +#define AO_USB_DEVICE_ID_SERIAL		1  #define IS_FLASH_LOADER	0  | 
