1
0
Fork 0
forked from len0rd/rockbox

hwstub: fix bug in jz4760B boot rom backend probe

Change-Id: Idb2b3b3903d88c8f6b494d5c9f04778daf3aaed0
This commit is contained in:
Amaury Pouly 2017-01-23 22:50:14 +01:00
parent 8fabbb008c
commit 50eaa2d9ac

View file

@ -525,7 +525,9 @@ error jz_handle::probe()
* this code will leaves registers and ram is the same state as before.
* In case of failure, simply assume JZ4760. */
if(m_desc_jz.wChipID == 0x4760)
probe_jz4760b();
m_probe_status = probe_jz4760b();
else
m_probe_status = error::SUCCESS;
/** Fill descriptors */
m_desc_version.bLength = sizeof(m_desc_version);