Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
ee4e95e7
Commit
ee4e95e7
authored
Jun 23, 2013
by
Henrik Nordstrom
Browse files
Teach fel about A20 SoC ID (for fel ver)
parent
fff57198
Changes
1
Hide whitespace changes
Inline
Side-by-side
fel.c
View file @
ee4e95e7
...
...
@@ -163,6 +163,7 @@ void aw_fel_get_version(libusb_device_handle *usb)
case
0x1623
:
soc_name
=
"A10"
;
break
;
case
0x1625
:
soc_name
=
"A13"
;
break
;
case
0x1633
:
soc_name
=
"A31"
;
break
;
case
0x1651
:
soc_name
=
"A20"
;
break
;
}
printf
(
"%.8s soc=%08x(%s) %08x ver=%04x %02x %02x scratchpad=%08x %08x %08x
\n
"
,
buf
.
signature
,
buf
.
soc_id
,
soc_name
,
buf
.
unknown_0a
,
buf
.
protocol
,
buf
.
unknown_12
,
buf
.
unknown_13
,
buf
.
scratchpad
,
buf
.
pad
[
0
],
buf
.
pad
[
1
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment