diff options
author | Tom Warren <twarren@nvidia.com> | 2013-04-10 10:32:32 -0700 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2013-04-15 11:01:38 -0700 |
commit | 49493cb7144f0c51a5aaecc75fcd1b3f157633ba (patch) | |
tree | f83f228d8367c5920f93af85ebedfb7697355144 /arch/arm/cpu/arm720t/tegra-common/cpu.h | |
parent | d94c2dbd0a55d742ab6ed9bd0c51b27ceed4084e (diff) | |
download | u-boot-imx-49493cb7144f0c51a5aaecc75fcd1b3f157633ba.zip u-boot-imx-49493cb7144f0c51a5aaecc75fcd1b3f157633ba.tar.gz u-boot-imx-49493cb7144f0c51a5aaecc75fcd1b3f157633ba.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/cpu/arm720t/tegra-common/cpu.h')
-rw-r--r-- | arch/arm/cpu/arm720t/tegra-common/cpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm720t/tegra-common/cpu.h b/arch/arm/cpu/arm720t/tegra-common/cpu.h index e8e05d7..f9bfb32 100644 --- a/arch/arm/cpu/arm720t/tegra-common/cpu.h +++ b/arch/arm/cpu/arm720t/tegra-common/cpu.h @@ -80,5 +80,7 @@ void init_pllx(void); void powerup_cpu(void); void reset_A9_cpu(int reset); void start_cpu(u32 reset_vector); -int tegra_get_chip_type(void); +int tegra_get_chip(void); +int tegra_get_sku_info(void); +int tegra_get_chip_sku(void); void adjust_pllp_out_freqs(void); |