projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e51925
)
Emulate only host mode
author
Riku Voipio
<riku.voipio@nokia.com>
Mon, 9 Mar 2009 13:01:47 +0000
(15:01 +0200)
committer
Riku Voipio
<riku.voipio@nokia.com>
Mon, 9 Mar 2009 13:01:47 +0000
(15:01 +0200)
hw/twl4030.c
patch
|
blob
|
history
diff --git
a/hw/twl4030.c
b/hw/twl4030.c
index
7155c2b
..
0cb771c
100644
(file)
--- a/
hw/twl4030.c
+++ b/
hw/twl4030.c
@@
-568,8
+568,9
@@
static uint8_t twl4030_4b_read(void *opaque, uint8_t addr)
case 0x2e: /* PWR_ISR1 */
case 0x33: /* PWR_EDR1 */
case 0x34: /* PWR_EDR2 */
- case 0x45: /* STS_HW_CONDITIONS */
return s->reg_data[addr];
+ case 0x45: /* STS_HW_CONDITIONS - USB plugged, no VBUS -> host usb */
+ return 0x4;
default:
#ifdef VERBOSE
printf("%s: unknown register %02x pc %x \n", __FUNCTION__, addr,cpu_single_env->regs[15] );