]> git.dujemihanovic.xyz Git - u-boot.git/commit
Tegra: Split tegra_get_chip_type() into soc & sku funcs
authorTom Warren <twarren@nvidia.com>
Wed, 10 Apr 2013 17:32:32 +0000 (10:32 -0700)
committerTom Warren <twarren@nvidia.com>
Mon, 15 Apr 2013 18:01:38 +0000 (11:01 -0700)
commit49493cb7144f0c51a5aaecc75fcd1b3f157633ba
treef83f228d8367c5920f93af85ebedfb7697355144
parentd94c2dbd0a55d742ab6ed9bd0c51b27ceed4084e
Tegra: Split tegra_get_chip_type() into soc & sku funcs

As suggested by Stephen Warren, use tegra_get_chip() to return
the pure CHIPID for a Tegra SoC (i.e. 0x20 for Tegra20, 0x30 for
Tegra30, etc.) and rename tegra_get_chip_type() to reflect its true
function, i.e. tegra_get_chip_sku(), which returns an ID like
TEGRA_SOC_T25, TEGRA_SOC_T33, etc.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
arch/arm/cpu/arm720t/tegra-common/cpu.c
arch/arm/cpu/arm720t/tegra-common/cpu.h
arch/arm/cpu/tegra-common/ap.c
arch/arm/cpu/tegra20-common/pmu.c
arch/arm/include/asm/arch-tegra/ap.h
board/nvidia/common/emc.c