Old-Ding opened a new pull request, #19336: URL: https://github.com/apache/nuttx/pull/19336
## Summary - allow i.MX9 non-SCMI CCM helpers to accept the last root index - keep the fix in the register-level CCM boundary checks for arm and arm64 ## Root cause `CCM_CR_COUNT` is defined as 94 in the non-SCMI CCM headers, and `CCM_CR_PALCAMESCAN` is also 94. The `g_ccm_root_mux` tables contain 95 entries, so root 94 is a valid table/register index. The `root >= CCM_CR_COUNT` checks rejected that last valid root before reaching the CCM helpers. ## Testing - `git diff --check HEAD~1 HEAD` - `git show --stat --check --format=fuller HEAD` - PowerShell consistency check: arm imx93, arm64 imx93, and arm64 imx95 CCM tables all report `CCM_CR_COUNT=94`, `CCM_CR_PALCAMESCAN=94`, `MuxEntries=95` Not run locally: - `tools/checkpatch.sh -f arch/arm/src/imx9/imx9_ccm.c arch/arm64/src/imx9/imx9_ccm.c` (local `bash` opens the Windows WSL install prompt) - build tests (local `make`, `gcc`, `arm-none-eabi-gcc`, and `clang` are not installed) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
