summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/hwstub/stub/stmp/target.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/hwstub/stub/stmp/target.c b/utils/hwstub/stub/stmp/target.c
index da46d50779..390480a71c 100644
--- a/utils/hwstub/stub/stmp/target.c
+++ b/utils/hwstub/stub/stmp/target.c
@@ -69,10 +69,10 @@ void power_off(void)
69 break; 69 break;
70 case STMP3700: 70 case STMP3700:
71 case STMP3770: 71 case STMP3770:
72 *(volatile uint32_t *)(HW_POWER_BASE + 0xe0) = 0x3e770003; 72 *(volatile uint32_t *)(HW_POWER_BASE + 0xe0) = 0x3e770001;
73 break; 73 break;
74 case STMP3780: 74 case STMP3780:
75 *(volatile uint32_t *)(HW_POWER_BASE + 0x100) = 0x3e770003; 75 *(volatile uint32_t *)(HW_POWER_BASE + 0x100) = 0x3e770001;
76 break; 76 break;
77 default: 77 default:
78 break; 78 break;
@@ -126,7 +126,7 @@ void clkctrl_reset(void)
126 *(volatile uint32_t *)(HW_CLKCTRL_BASE + 0xf0) = 0x1; 126 *(volatile uint32_t *)(HW_CLKCTRL_BASE + 0xf0) = 0x1;
127 break; 127 break;
128 case STMP3780: 128 case STMP3780:
129 *(volatile uint32_t *)(HW_CLKCTRL_BASE + 0x100) = 0x1; 129 *(volatile uint32_t *)(HW_CLKCTRL_BASE + 0x120) = 0x1;
130 break; 130 break;
131 default: 131 default:
132 break; 132 break;