From eb7023a9a63f05f9b6212cda7d6efedd8691e349 Mon Sep 17 00:00:00 2001 From: Bhuvanchandra DV Date: Mon, 20 Feb 2017 23:14:00 +0530 Subject: arm: tegra: soc: Use sys_soc to expose SoC UID Use the standard sys_soc interface to expose the SoC UID information. e.g. ~# cat /sys/bus/soc/devices/soc0/machine NVIDIA Tegra ~# cat /sys/bus/soc/devices/soc0/family NVIDIA Tegra30 ~# cat /sys/bus/soc/devices/soc0/revision A03 ~# cat /sys/bus/soc/devices/soc0/soc_id 98317451306464792 Signed-off-by: Bhuvanchandra DV Acked-by: Marcel Ziswiler --- arch/arm/mach-tegra/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/mach-tegra/Kconfig') diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 6ca839316e1a..c9c7bbb4fb25 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -36,6 +36,7 @@ config ARCH_TEGRA_2x_SOC select ARM_ERRATA_764369 if SMP select ARCH_HAS_SUSPEND_PAGETABLE select NVMAP_CACHE_MAINT_BY_SET_WAYS + select SOC_BUS help Support for NVIDIA Tegra AP20 and T20 processors, based on the ARM CortexA9MP CPU and the ARM PL310 L2 cache controller @@ -65,6 +66,7 @@ config ARCH_TEGRA_3x_SOC select ARCH_HAS_SUSPEND_PAGETABLE select NVMAP_CACHE_MAINT_BY_SET_WAYS select PL310_ERRATA_727915 + select SOC_BUS help Support for NVIDIA Tegra 3 family of SoCs, based upon the ARM CortexA9MP CPU and the ARM PL310 L2 cache controller -- cgit v1.2.3