
31 Mar
2022
31 Mar
'22
9:43 p.m.
On 31/03/22 03:35PM, Tom Rini wrote:
This is a little tricky since SoCFPGA has code to determine this as runtime. Introduce a guard variable for platforms to select if they have a static value to use. Then for ARCH_SOCFPGA, call cm_get_qspi_controller_clk_hz() and otherwise continue the previous behavior.
Cc: Jagan Teki jagan@amarulasolutions.com Signed-off-by: Tom Rini trini@konsulko.com
Changes in v2:
- Use IS_ENABLED(...) per Pratyush
Thanks.
For J721E, J7200, J721S2, and cadence_qspi
Reviewed-by: Pratyush Yadav p.yadav@ti.com
[...]
--
Regards,
Pratyush Yadav
Texas Instruments Inc.