Skip to content

Commit 3763051

Browse files
authored
Merge pull request #111 from AFOliveira/fix/powerreset
[sw-sysemu] reset PowerDomainReq to 0x0
2 parents 94c970f + 5a369fd commit 3763051

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

sw-sysemu/devices/sysregs_er.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void SysregsEr<Base>::reset(ResetCause cause)
2424
system_config = SYSTEM_CONFIG_WDOG_DISABLE;
2525
sys_interrupt = 0;
2626
reset_cause = static_cast<uint32_t>(cause); // Set reset cause
27-
power_domain_req = POWER_DOMAIN_REQ_MRAM_DSLEEP_EN;
27+
power_domain_req = 0;
2828
power_domain_ack = 0;
2929
spin_lock = 0;
3030
chip_mode = 0;

sw-sysemu/devices/sysregs_er.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ struct SysregsEr : public MemoryRegion {
9292

9393
static constexpr uint32_t SPIN_LOCK_LOCK = 1 << 0;
9494

95-
static constexpr uint32_t POWER_DOMAIN_REQ_MRAM_DSLEEP_EN = 1 << 16;
96-
9795
static constexpr uint32_t SOFT_RESET_MRAM_RST_B = 1 << 2;
9896

9997
// Register Values

0 commit comments

Comments
 (0)