diff options
Diffstat (limited to 'arch/arm/include/asm/arch-tegra/ap20.h')
-rw-r--r-- | arch/arm/include/asm/arch-tegra/ap20.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra/ap20.h b/arch/arm/include/asm/arch-tegra/ap20.h index 0bc239977b..6c1e57eea3 100644 --- a/arch/arm/include/asm/arch-tegra/ap20.h +++ b/arch/arm/include/asm/arch-tegra/ap20.h @@ -118,3 +118,14 @@ void ap20_init_pllx(int slow); * @return number of CPUs (1-4) */ int ap20_get_num_cpus(void); + +/** + * Works out the SOC type used for clocks settings + * + * Note that T30 will return TEGRA_SOC_T30 until we have the fdt set up, + * when it may change to TEGRA_SOC_T30_408MHZ depending on what we set PLLP + * to. + * + * @return SOC type - see TEGRA_SOC... + */ +int tegra_get_chip_type(void); |