Skip to content

Commit 59bdbab

Browse files
Andrzej Kacprowskitdz
authored andcommitted
accel/ivpu: Remove boot params address setting via MMIO register
The NPU 60XX uses the default boot params location specified in the firmware image header, consistent with earlier generations. Remove the unnecessary MMIO register write, freeing the AON register for future use. Fixes: 44e4c88 ("accel/ivpu: Implement warm boot flow for NPU6 and unify boot handling") Signed-off-by: Andrzej Kacprowski <[email protected]> Reviewed-by: Karol Wachowski <[email protected]> Signed-off-by: Karol Wachowski <[email protected]> Link: https://patch.msgid.link/[email protected] (cherry picked from commit 81e62e7) Signed-off-by: Thomas Zimmermann <[email protected]>
1 parent d0d7277 commit 59bdbab

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

drivers/accel/ivpu/ivpu_hw_40xx_reg.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,6 @@
121121
#define VPU_50XX_HOST_SS_AON_PWR_ISLAND_STATUS_DLY 0x0003006cu
122122
#define VPU_50XX_HOST_SS_AON_PWR_ISLAND_STATUS_DLY_STATUS_DLY_MASK GENMASK(7, 0)
123123

124-
#define VPU_40XX_HOST_SS_AON_RETENTION0 0x0003000cu
125-
#define VPU_40XX_HOST_SS_AON_RETENTION1 0x00030010u
126-
#define VPU_40XX_HOST_SS_AON_RETENTION2 0x00030014u
127-
#define VPU_40XX_HOST_SS_AON_RETENTION3 0x00030018u
128-
#define VPU_40XX_HOST_SS_AON_RETENTION4 0x0003001cu
129-
130124
#define VPU_40XX_HOST_SS_AON_IDLE_GEN 0x00030200u
131125
#define VPU_40XX_HOST_SS_AON_IDLE_GEN_EN_MASK BIT_MASK(0)
132126
#define VPU_40XX_HOST_SS_AON_IDLE_GEN_HW_PG_EN_MASK BIT_MASK(1)

drivers/accel/ivpu/ivpu_hw_ip.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,6 @@ static int soc_cpu_boot_40xx(struct ivpu_device *vdev)
931931

932932
static int soc_cpu_boot_60xx(struct ivpu_device *vdev)
933933
{
934-
REGV_WR64(VPU_40XX_HOST_SS_AON_RETENTION1, vdev->fw->mem_bp->vpu_addr);
935934
soc_cpu_set_entry_point_40xx(vdev, vdev->fw->cold_boot_entry_point);
936935

937936
return 0;

0 commit comments

Comments
 (0)