Commit c410b73
mcux: mcux-sdk: drivers: cache64: remove invalid assert in GetInstance
CACHE64_GetInstanceByAddr() asserts when an address is passed in that is
not managed by the CACHE64 controller. This is incorrect behavior, as
the CACHE64 driver checks to see if the returned instance number is out
of range when using this function, so we should not assert here.
Remove the assert so that cache invalidation functions can be used with
addresses not the CACHE64 controller's range.
Signed-off-by: Daniel DeGrasse <[email protected]>1 parent 6e7d5cf commit c410b73
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
| |||
0 commit comments