[PATCH 0/2] soc/tegra: Fix build with Tegra234 configuration
From: Xie XiuQi
Date: Sat Mar 27 2021 - 08:37:27 EST
If only Tegra234 support is enabled, we got this build error:
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j128
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/soc/tegra/fuse/fuse-tegra30.o
drivers/soc/tegra/fuse/fuse-tegra30.c:376:10: error: ‘tegra30_fuse_read’ undeclared here (not in a function); did you mean ‘tegra_fuse_readl’?
.read = tegra30_fuse_read,
^~~~~~~~~~~~~~~~~
tegra_fuse_readl
drivers/soc/tegra/fuse/fuse-tegra30.c:382:10: error: ‘tegra30_fuse_init’ undeclared here (not in a function); did you mean ‘tegra30_fuse_read’?
.init = tegra30_fuse_init,
^~~~~~~~~~~~~~~~~
tegra30_fuse_read
CC drivers/firmware/tegra/bpmp.o
CHK kernel/kheaders_data.tar.xz
drivers/firmware/tegra/bpmp.c:861:51: error: ‘tegra186_soc’ undeclared here (not in a function); did you mean ‘tegra_ivc’?
{ .compatible = "nvidia,tegra186-bpmp", .data = &tegra186_soc },
^~~~~~~~~~~~
tegra_ivc
Xie XiuQi (2):
soc/tegra: fuse: Fix build with Tegra234 configuration
firmware: tegra: Fix build with Tegra234 configuration
drivers/firmware/tegra/Makefile | 1 +
drivers/firmware/tegra/bpmp-private.h | 3 ++-
drivers/firmware/tegra/bpmp.c | 3 ++-
drivers/soc/tegra/fuse/fuse-tegra30.c | 3 ++-
4 files changed, 7 insertions(+), 3 deletions(-)
--
2.25.1