Skip to content

Commit bd778b8

Browse files
committed
firmware: tegra: bpmp: Fix Tegra234-only builds
The tegra186_bpmp_ops symbol is used on Tegra234, so make sure it's available. Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 7fea677 commit bd778b8

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎drivers/firmware/tegra/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ tegra-bpmp-y = bpmp.o
33
tegra-bpmp-$(CONFIG_ARCH_TEGRA_210_SOC) += bpmp-tegra210.o
44
tegra-bpmp-$(CONFIG_ARCH_TEGRA_186_SOC) += bpmp-tegra186.o
55
tegra-bpmp-$(CONFIG_ARCH_TEGRA_194_SOC) += bpmp-tegra186.o
6+
tegra-bpmp-$(CONFIG_ARCH_TEGRA_234_SOC) += bpmp-tegra186.o
67
tegra-bpmp-$(CONFIG_DEBUG_FS) += bpmp-debugfs.o
78
obj-$(CONFIG_TEGRA_BPMP) += tegra-bpmp.o
89
obj-$(CONFIG_TEGRA_IVC) += ivc.o

‎drivers/firmware/tegra/bpmp-private.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ struct tegra_bpmp_ops {
2424
};
2525

2626
#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) || \
27-
IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC)
27+
IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC) || \
28+
IS_ENABLED(CONFIG_ARCH_TEGRA_234_SOC)
2829
extern const struct tegra_bpmp_ops tegra186_bpmp_ops;
2930
#endif
3031
#if IS_ENABLED(CONFIG_ARCH_TEGRA_210_SOC)

‎drivers/firmware/tegra/bpmp.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,8 @@ static const struct dev_pm_ops tegra_bpmp_pm_ops = {
809809
};
810810

811811
#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) || \
812-
IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC)
812+
IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC) || \
813+
IS_ENABLED(CONFIG_ARCH_TEGRA_234_SOC)
813814
static const struct tegra_bpmp_soc tegra186_soc = {
814815
.channels = {
815816
.cpu_tx = {

0 commit comments

Comments
 (0)