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
346bbff6
Commit
346bbff6
authored
Apr 24, 2014
by
Chen-Yu Tsai
Committed by
Alejandro Mery
Apr 26, 2014
Browse files
fel: Add A23 SoC ID
Signed-off-by:
Chen-Yu Tsai
<
wens@csie.org
>
parent
271130b3
Changes
1
Show whitespace changes
Inline
Side-by-side
fel.c
View file @
346bbff6
...
@@ -166,6 +166,7 @@ void aw_fel_get_version(libusb_device_handle *usb)
...
@@ -166,6 +166,7 @@ void aw_fel_get_version(libusb_device_handle *usb)
case
0x1625
:
soc_name
=
"A13"
;
break
;
case
0x1625
:
soc_name
=
"A13"
;
break
;
case
0x1633
:
soc_name
=
"A31"
;
break
;
case
0x1633
:
soc_name
=
"A31"
;
break
;
case
0x1651
:
soc_name
=
"A20"
;
break
;
case
0x1651
:
soc_name
=
"A20"
;
break
;
case
0x1650
:
soc_name
=
"A23"
;
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
]);
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