Skip to content

Commit 4f8bed7

Browse files
committed
[ot] hw/opentitan: ot_sensor_eg: Set IO power OK bits
Signed-off-by: Amit Kumar-Hermosillo <amitkh@google.com>
1 parent b28bb56 commit 4f8bed7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hw/opentitan/ot_sensor_eg.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ static uint64_t ot_sensor_eg_regs_read(void *opaque, hwaddr addr, unsigned size)
245245
if (!s->regs[reg]) {
246246
/* fake init: reports initialized */
247247
s->regs[reg] |= R_STATUS_AST_INIT_DONE_MASK;
248+
s->regs[reg] |= R_STATUS_IO_POK_MASK;
248249
}
249250
val32 = s->regs[reg];
250251
break;

0 commit comments

Comments
 (0)