-
Notifications
You must be signed in to change notification settings - Fork 318
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
base_fw: move SRAM bank details to Intel specific code #9456
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,11 +39,6 @@ static inline void *platform_shared_get(void *ptr, int bytes) | |
return ptr; | ||
} | ||
|
||
#define SRAM_BANK_SIZE 0x10000 | ||
#define EBB_BANKS_IN_SEGMENT 32 | ||
#define PLATFORM_HPSRAM_EBB_COUNT 32 | ||
#define PLATFORM_LPSRAM_EBB_COUNT 1 | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is no longer needed as these definitions are only used in the Intel specific basefw code (so not needed to build for posix). |
||
#define SHARED_DATA /**/ | ||
|
||
#endif /* PLATFORM_HOST_PLATFORM_MEMORY_H */ |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -333,12 +333,6 @@ | |
#define SOF_STACK_SIZE (CONFIG_SOF_STACK_SIZE) | ||
#define SOF_STACK_TOTAL_SIZE (CONFIG_CORE_COUNT * SOF_STACK_SIZE) | ||
|
||
/* SOF Core S configuration */ | ||
#define SOF_CORE_S_SIZE \ | ||
ALIGN((HEAP_SYSTEM_S_SIZE + HEAP_SYS_RUNTIME_S_SIZE + SOF_STACK_SIZE),\ | ||
SRAM_BANK_SIZE) | ||
#define SOF_CORE_S_T_SIZE ((CONFIG_CORE_COUNT - 1) * SOF_CORE_S_SIZE) | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is no longer needed and needs to be removed now when SRAM_BANK_SIZE is removed. |
||
/* | ||
* The LP SRAM Heap and Stack on Tigerlake are organised like this :- | ||
* | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This definition is in cavs25/adsp_memory.h in Zephyr, not needed here in SOF codebase. All below stuff is unused stuff that can be removed.