[PATCH 0/2] mci: fix warning and linker error
Steffen Trumtrar
s.trumtrar at pengutronix.de
Tue Mar 26 04:50:40 PDT 2024
This series fixes the following warning in mci-core:
drivers/mci/mci-core.c:1455:17: warning: the address of 'status' will always evaluate as 'true' [-Waddress]
And the following linker error:
arm-v7a-linux-gnueabihf-ld: drivers/mci/arasan-sdhci.o: in function `arasan_zynqmp_sdcardclk_set_phase': drivers/mci/arasan-sdhci.c:467: undefined reference to `zynqmp_pm_set_sd_tapdelay'
arm-v7a-linux-gnueabihf-ld: drivers/mci/arasan-sdhci.c:472: undefined reference to `zynqmp_pm_sd_dll_reset'
arm-v7a-linux-gnueabihf-ld: drivers/mci/arasan-sdhci.o: in function `arasan_zynqmp_sampleclk_set_phase': drivers/mci/arasan-sdhci.c:372: undefined reference to `zynqmp_pm_sd_dll_reset'
arm-v7a-linux-gnueabihf-ld: /home/str/work/customers/bosch.be.ppm2/worktree/barebox/bosch.be.ppm2/drivers/mci/arasan-sdhci.c:398: undefined reference to `zynqmp_pm_set_sd_tapdelay'
make[1]: *** [Makefile:900: .tmp_barebox1] Error 1
Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
Steffen Trumtrar (2):
mci: mci-core: fix mci_switch_status call
mci: arasan: fix build for non-ZynqMP
drivers/mci/arasan-sdhci.c | 3 ++-
drivers/mci/mci-core.c | 4 +---
2 files changed, 3 insertions(+), 4 deletions(-)
---
base-commit: bbda2f90b296e953bbef20d00c58447eb88ff84f
change-id: 20240326-worktree-barebox-bosch-be-ppm4-0e9bfd511418
Best regards,
--
Steffen Trumtrar <s.trumtrar at pengutronix.de>
More information about the barebox
mailing list