Skip to content
Commit bc6abbc1 authored by Andy Ross's avatar Andy Ross Committed by Maureen Helm
Browse files

soc/intel_adsp: Simplify boot SRAM initialization



The module copy was clearing BSS sections from the module list, but we
already clear the full memory space immediately after SRAM power-up so
that's needless, just like the legacy reset vector bss clear that got
removed earlier.  (Yes: that means that this code used to be writing
zeros to .bss three times!)

Similarly, put a symmetric clear on the LP-SRAM bank for safety (it's
not currently used by Zephyr but we do start it up).  And move the
cache flush to the end of initialization immediately before OS
handoff.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 9eca65de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment