serial: msm-geni: Always bind before relocation
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 21 Apr 2023 17:50:35 +0000 (20:50 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 2 May 2023 18:23:58 +0000 (14:23 -0400)
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 <konrad.dybcio@linaro.org>
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
drivers/serial/serial_msm_geni.c

index df61ae0..146b057 100644 (file)
@@ -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