forked from len0rd/rockbox
hwstub: fix bug in jz4760B boot rom backend probe
Change-Id: Idb2b3b3903d88c8f6b494d5c9f04778daf3aaed0
This commit is contained in:
parent
8fabbb008c
commit
50eaa2d9ac
1 changed files with 3 additions and 1 deletions
|
@ -525,7 +525,9 @@ error jz_handle::probe()
|
||||||
* this code will leaves registers and ram is the same state as before.
|
* this code will leaves registers and ram is the same state as before.
|
||||||
* In case of failure, simply assume JZ4760. */
|
* In case of failure, simply assume JZ4760. */
|
||||||
if(m_desc_jz.wChipID == 0x4760)
|
if(m_desc_jz.wChipID == 0x4760)
|
||||||
probe_jz4760b();
|
m_probe_status = probe_jz4760b();
|
||||||
|
else
|
||||||
|
m_probe_status = error::SUCCESS;
|
||||||
|
|
||||||
/** Fill descriptors */
|
/** Fill descriptors */
|
||||||
m_desc_version.bLength = sizeof(m_desc_version);
|
m_desc_version.bLength = sizeof(m_desc_version);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue