diff options
| author | Subrahmanya Lingappa <[email protected]> | 2024-08-06 10:38:46 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-12-06 09:26:35 +0530 |
| commit | fdd72635368beb5f9c85533b92abb31adee20406 (patch) | |
| tree | 51357007f62fa2383526ef00e32bb8b2e8876130 /platform | |
| parent | 13f55f33a1d361784fd250b9e3897918b7ae82d4 (diff) | |
lib: sbi: Add optional resume address to hart suspend
Add an optional resume address to the platform specific hart suspend call.
Signed-off-by: Subrahmanya Lingappa <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/generic/allwinner/sun20i-d1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/generic/allwinner/sun20i-d1.c b/platform/generic/allwinner/sun20i-d1.c index b65013c2..c31ebdb2 100644 --- a/platform/generic/allwinner/sun20i-d1.c +++ b/platform/generic/allwinner/sun20i-d1.c @@ -130,7 +130,7 @@ static void sun20i_d1_riscv_cfg_init(void) writel_relaxed(entry >> 32, SUN20I_D1_RISCV_CFG_BASE + RESET_ENTRY_HI_REG); } -static int sun20i_d1_hart_suspend(u32 suspend_type) +static int sun20i_d1_hart_suspend(u32 suspend_type, ulong mmode_resume_addr) { /* Use the generic code for retentive suspend. */ if (!(suspend_type & SBI_HSM_SUSP_NON_RET_BIT)) |
