Skip to content

Commit

Permalink
arm64: dts: compile t239 dts based on CONFIG
Browse files Browse the repository at this point in the history
Add t239 specific config option and enable the dts
compilation for t239 based on the config value.

Bug 200705644

Change-Id: I9a36a03faba1f046ab3b839fb37e520b37b4cf89
Signed-off-by: ajeshkv <akv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-5.10/+/2503312
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
  • Loading branch information
ajeshkv authored and mobile promotions committed Apr 29, 2021
1 parent 2441c77 commit c03a312
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ DTC_INCLUDE += $(tegra-dtstree)/soc/t23x/kernel-dts
DTC_INCLUDE += $(tegra-dtstree)/platform/t23x/common/kernel-dts
endif

ifeq ($(CONFIG_ARCH_TEGRA_239_SOC),y)
DTC_INCLUDE += $(tegra-dtstree)/soc/t239/kernel-include
DTC_INCLUDE += $(tegra-dtstree)/soc/t239/kernel-dts
endif

DTB_LIST := $(dtb-y)
DTBO_LIST := $(dtbo-y)
dtb-y :=
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ CONFIG_CRYPTO_AES_ARM64_CE_CCM=m
CONFIG_CRYPTO_AES_ARM64_CE_BLK=m
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=m
CONFIG_ARCH_TEGRA_23x_SOC=y
CONFIG_ARCH_TEGRA_239_SOC=y
CONFIG_TEGRA_PSC=m
CONFIG_JUMP_LABEL=y
CONFIG_MODULES=y
Expand Down

0 comments on commit c03a312

Please sign in to comment.