[PATCH] arm64: zynqmp: Set default RTC device at start

Michal Simek michal.simek at amd.com
Tue Nov 19 14:38:09 CET 2024



On 11/12/24 14:58, Michal Simek wrote:
> For RTC to start to operate there is a need to call the driver. The simple
> way to do it is to set default RTC instance which will call the probe and
> do basic initialization.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   board/xilinx/zynqmp/zynqmp_kria.env | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/board/xilinx/zynqmp/zynqmp_kria.env b/board/xilinx/zynqmp/zynqmp_kria.env
> index 927f398c3c38..ff3a0924de7d 100644
> --- a/board/xilinx/zynqmp/zynqmp_kria.env
> +++ b/board/xilinx/zynqmp/zynqmp_kria.env
> @@ -77,6 +77,7 @@ tpm_kv260=if test ${card1_rev} = A -o ${card1_rev} = B -o ${card1_rev} = Y -o ${
>   tpm_kd240=if test ${card1_rev} = A; then run tpm_reset; fi
>   
>   board_setup=\
> +rtc dev 0; \
>   zynqmp mmio_write 0xFFCA0010 0xfff 0; \
>   if test ${card1_name} = SCK-KV-G; then run kv260_setup; run tpm_kv260; fi;\
>   if test ${card1_name} = SCK-KR-G; then run kr260_setup; run tpm_reset; fi;\

Applied.
M


More information about the U-Boot mailing list