arch: sc5xx: Revert CDU0 CLKO10/12/13/14 IS_ENABLED guards - #143
arch: sc5xx: Revert CDU0 CLKO10/12/13/14 IS_ENABLED guards#143CalebEthridgeADI wants to merge 1 commit into
Conversation
LLM reviewThis series fixes a regression where the SC598 (SC59x/SC59x_64) eMMC clock outputs (CLKO13/CLKO14) and CLKO10/CLKO12 were silently left unconfigured. run: 30925904194
|
CONFIG_CDU0_CLKOxx are "int" Kconfig options carrying a clock-source select value (range 1..7). IS_ENABLED() only evaluates true when a symbol is defined to 1, so any output configured with a value other than 1 was silently skipped. This, for example, left the clocks for the eMMC on the sc598 unconfigured, preventing the mmc from working in U-boot. Restore the original "#ifdef" guards so the outputs are configured whenever the board provides a value. Fixes: 3285a56 ("arch: sc5xx: Add SC846 DDR init hooks") Signed-off-by: Caleb Ethridge <caleb.ethridge@analog.com>
d6ed092 to
be8d39c
Compare
CONFIG_CDU0_CLKOxx are "int" Kconfig options carrying a clock-source select value (range 1..7). IS_ENABLED() only evaluates true when a symbol is defined to 1, so any output configured with a value other than 1 was silently skipped.
This, for example, left the clocks for the eMMC on the sc598 unconfigured, preventing the mmc from working in U-boot.