Commit ec8c38e
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 7c626ee commit ec8c38e
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | | - | |
| 770 | + | |
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| |||
816 | 816 | | |
817 | 817 | | |
818 | 818 | | |
819 | | - | |
| 819 | + | |
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
872 | | - | |
| 872 | + | |
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
| |||
0 commit comments