From: Konrad Dybcio Date: Fri, 21 Apr 2023 17:50:35 +0000 (+0300) Subject: serial: msm-geni: Always bind before relocation X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=f877932123d04a0593b8add83b654dff117e8784;p=u-boot.git serial: msm-geni: Always bind before relocation In preparation for supporting upstream Linux device trees on Qualcomm platforms, make this the default behavior. [vzapolskiy: extracted the driver change from a combination with dts changes] Signed-off-by: Konrad Dybcio Signed-off-by: Vladimir Zapolskiy --- diff --git a/drivers/serial/serial_msm_geni.c b/drivers/serial/serial_msm_geni.c index df61ae04df..146b057484 100644 --- a/drivers/serial/serial_msm_geni.c +++ b/drivers/serial/serial_msm_geni.c @@ -558,6 +558,7 @@ U_BOOT_DRIVER(serial_msm_geni) = { .priv_auto = sizeof(struct msm_serial_data), .probe = msm_serial_probe, .ops = &msm_serial_ops, + .flags = DM_FLAG_PRE_RELOC, }; #ifdef CONFIG_DEBUG_UART_MSM_GENI