diff options
author | Caleb Connolly <caleb.connolly@linaro.org> | 2024-02-26 17:26:19 +0000 |
---|---|---|
committer | Caleb Connolly <caleb.connolly@linaro.org> | 2024-03-01 14:44:36 +0000 |
commit | 8048976e9c9943b28aec8b7e4d998e128b39fe70 (patch) | |
tree | f36cf2582d17795b491e63ed4b3923cb42bf302f /drivers | |
parent | 97487ac76de85d22653b12c7561e6c007a3b4eb5 (diff) | |
download | u-boot-8048976e9c9943b28aec8b7e4d998e128b39fe70.zip u-boot-8048976e9c9943b28aec8b7e4d998e128b39fe70.tar.gz u-boot-8048976e9c9943b28aec8b7e4d998e128b39fe70.tar.bz2 |
pinctrl: qcom: apq8016: init pre-reloaction
On the DB410c we support running as a first stage bootloader. This
requires initialising the GPIOs which are muxed to UART before they can
be used. Add DM_FLAG_PRE_RELOC to the apq8016 pinctrl driver to ensure
that we do this early enough.
This is required to prevent the first few lines of UART log from being
dropped.
Reported-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Tested-by: Sumit Garg <sumit.garg@linaro.org> #qcs404
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pinctrl/qcom/pinctrl-apq8016.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-apq8016.c b/drivers/pinctrl/qcom/pinctrl-apq8016.c index 796c4b4..eb9bf87 100644 --- a/drivers/pinctrl/qcom/pinctrl-apq8016.c +++ b/drivers/pinctrl/qcom/pinctrl-apq8016.c @@ -76,4 +76,5 @@ U_BOOT_DRIVER(pinctrl_apq8016) = { .of_match = msm_pinctrl_ids, .ops = &msm_pinctrl_ops, .bind = msm_pinctrl_bind, + .flags = DM_FLAG_PRE_RELOC, }; |