Commit 132cb92
[MCUX-85549] Update MCX SPC driver and adjust conditional macro logic
1. Add feature macro FSL_FEATURE_MCX_SPC_HAS_SRAMRETLDO_REFTRIM_REG
to be compatible with some platforms where SPC has no SRAMRETLDO_REFTRIM
register.
2. FSL_FEATURE_MCX_SPC_HAS_SRAMRETLDO_REFTRIM_REG is used to indicate
whether SRAMRETLDO_REFTRIM exists or not.
FSL_FEATURE_MCX_SPC_HAS_SRAMRETLDO_REG is used to indicate
whether SRAMRETLDO_CNTRL exists or not.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>1 parent b3a25e8 commit 132cb92
3 files changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
667 | | - | |
668 | 667 | | |
669 | 668 | | |
670 | 669 | | |
671 | 670 | | |
672 | | - | |
673 | | - | |
| 671 | + | |
674 | 672 | | |
675 | 673 | | |
676 | 674 | | |
| |||
684 | 682 | | |
685 | 683 | | |
686 | 684 | | |
| 685 | + | |
687 | 686 | | |
688 | 687 | | |
689 | 688 | | |
| |||
727 | 726 | | |
728 | 727 | | |
729 | 728 | | |
730 | | - | |
731 | | - | |
732 | 729 | | |
| 730 | + | |
733 | 731 | | |
734 | 732 | | |
735 | 733 | | |
| |||
0 commit comments