Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/arm/nxp
Module Name: src
Committed By: hkenken
Date: Thu Nov 26 06:03:59 UTC 2026
Modified Files:
src/sys/arch/arm/nxp: imx_ccm.c imx_ccm.h
Log Message:
imx_ccm: check that regidx is mapped; accept same-rate set_rate
- Reject table entries whose register region is not mapped.
- For clocks without set_rate, return 0 if the requested rate equals
the current rate, as clk_set_rate() does; otherwise ENXIO as before.
- Note that busy_reg must be in the same region as the divider.
Tested on QEMU mcimx7d-sabre: the clock list is unchanged, a same-rate
request on a PLL now succeeds (was ENXIO), and an unmapped regidx
stops attach. Built GENERIC and GENERIC64.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/nxp/imx_ccm.c \
src/sys/arch/arm/nxp/imx_ccm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index