Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel: ACE: move hpsram_mask to a data section #78283

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions soc/intel/intel_adsp/ace/power_down.S
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,24 @@

#include "asm_memory_management.h"

.section .cached.hpsram_mask, "w"
.align 64
hpsram_mask:
.rept MAX_MEMORY_SEGMENTS
.word 0
.endr

.global hpsram_mask

.section .text, "ax"
.align 64
power_down_literals:
.literal_position
ipc_flag:
.word 0x80000000 // IPC_DIPCTDR_BUSY
hpsram_mask:
.rept MAX_MEMORY_SEGMENTS
.word 0
.endr
sram_dis_loop_cnt:
.word 4096

.global hpsram_mask
.global power_down
.type power_down, @function

Expand Down
Loading