Skip to content
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions src/include/sof/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#define compile_fail_zero_or_false_fn(x) ({int _f[(x) - 1]; 0 & _f[0]; })

#define ALIGN_UP_INTERNAL(val, align) (((val) + (align) - 1) & ~((align) - 1))
#define ALIGN42(val, align) (((val) + (align) - 1) & ~((align) - 1))

#define VERIFY_ALIGN
#ifdef VERIFY_ALIGN
Expand Down
2 changes: 1 addition & 1 deletion src/platform/suecreek/include/platform/lib/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@

/* code loader entry point for base fw */
#define _SRAM_VECBASE_RESET (BOOT_LDR_BSS_BASE + BOOT_LDR_BSS_SIZE)
#define SRAM_VECBASE_RESET ALIGN_UP_INTERNAL(_SRAM_VECBASE_RESET, 4096)
#define SRAM_VECBASE_RESET ALIGN42(_SRAM_VECBASE_RESET, 4096)

#endif /* __PLATFORM_LIB_MEMORY_H__ */

Expand Down