[dif_otp_ctrl] Align software drivers to use the core/prim interfaces
Signed-off-by: Michael Schaffner <msf@opentitan.org>
diff --git a/sw/device/silicon_creator/lib/shutdown.c b/sw/device/silicon_creator/lib/shutdown.c
index afe77a2..68fa9bc 100644
--- a/sw/device/silicon_creator/lib/shutdown.c
+++ b/sw/device/silicon_creator/lib/shutdown.c
@@ -48,7 +48,7 @@
extern uint32_t otp_read32(uint32_t address);
#else
inline uint32_t otp_read32(uint32_t address) {
- return abs_mmio_read32(TOP_EARLGREY_OTP_CTRL_BASE_ADDR +
+ return abs_mmio_read32(TOP_EARLGREY_OTP_CTRL_CORE_BASE_ADDR +
OTP_CTRL_SW_CFG_WINDOW_REG_OFFSET + address);
}
#endif