git://stoneship.org.uk
/
bootloader
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initial import of the bootloader code
[bootloader]
/
cli
/
devices.h
1
#ifndef DEVICE_INFO_H
2
#define DEVICE_INFO_H
3
4
typedef struct device_info {
5
uint16_t id;
6
uint16_t mask;
7
const char *name;
8
uint16_t memsize;
9
uint8_t rowsize;
10
} devid_t;
11
12
const char *devidtoname(uint16_t devid);
13
const devid_t * devid_to_info(uint16_t devid);
14
15
#endif