Commit 26299d2
committed
mcux: flash_c40: run mutating ops from SRAM (__ramfunc) for XIP
Mark the C40 operations that issue flash commands as __ramfunc so they
execute from SRAM on Cortex-M7 XIP systems:
- FLASH_Program()
- FLASH_Erase()
- FLASH_SetSectorProtection()
Signed-off-by: Sumit Batra <sumit.batra@nxp.com>1 parent 9f2c421 commit 26299d2
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
778 | | - | |
| 778 | + | |
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
| 827 | + | |
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
880 | | - | |
| 880 | + | |
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
| |||
0 commit comments