mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 00:19:36 +00:00
firmware: tegra: bpmp: Add support on Tegra264
Support for Tegra264 depends on the Tegra186 support, so make sure the latter is enabled. Link: https://lore.kernel.org/r/20250506133118.1011777-11-thierry.reding@gmail.com Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
78eb18020a
commit
94bce2cf7c
@ -836,7 +836,8 @@ static const struct dev_pm_ops tegra_bpmp_pm_ops = {
|
|||||||
|
|
||||||
#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) || \
|
#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) || \
|
||||||
IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC) || \
|
IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC) || \
|
||||||
IS_ENABLED(CONFIG_ARCH_TEGRA_234_SOC)
|
IS_ENABLED(CONFIG_ARCH_TEGRA_234_SOC) || \
|
||||||
|
IS_ENABLED(CONFIG_ARCH_TEGRA_264_SOC)
|
||||||
static const struct tegra_bpmp_soc tegra186_soc = {
|
static const struct tegra_bpmp_soc tegra186_soc = {
|
||||||
.channels = {
|
.channels = {
|
||||||
.cpu_tx = {
|
.cpu_tx = {
|
||||||
@ -884,7 +885,8 @@ static const struct tegra_bpmp_soc tegra210_soc = {
|
|||||||
static const struct of_device_id tegra_bpmp_match[] = {
|
static const struct of_device_id tegra_bpmp_match[] = {
|
||||||
#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) || \
|
#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) || \
|
||||||
IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC) || \
|
IS_ENABLED(CONFIG_ARCH_TEGRA_194_SOC) || \
|
||||||
IS_ENABLED(CONFIG_ARCH_TEGRA_234_SOC)
|
IS_ENABLED(CONFIG_ARCH_TEGRA_234_SOC) || \
|
||||||
|
IS_ENABLED(CONFIG_ARCH_TEGRA_264_SOC)
|
||||||
{ .compatible = "nvidia,tegra186-bpmp", .data = &tegra186_soc },
|
{ .compatible = "nvidia,tegra186-bpmp", .data = &tegra186_soc },
|
||||||
#endif
|
#endif
|
||||||
#if IS_ENABLED(CONFIG_ARCH_TEGRA_210_SOC)
|
#if IS_ENABLED(CONFIG_ARCH_TEGRA_210_SOC)
|
||||||
|
Loading…
Reference in New Issue
Block a user