]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
tegra: Add tegra_get_chip_type() to detect SKU
authorSimon Glass <sjg@chromium.org>
Mon, 2 Apr 2012 13:18:50 +0000 (13:18 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:37 +0000 (08:31 +0200)
commitd515362d4d6f83be818f71d37a4600041a520ab5
tree30b7c1e6fc2c319377369ba1eebf815fead3dcb3
parentf6f767a4040110b400726e9859ea51a7ade10474
tegra: Add tegra_get_chip_type() to detect SKU

We want to know which type of chip we are running on - the Tegra
family has several SKUs. This can be determined by reading a
fuse register, so add this function to ap20.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra2/ap20.c
arch/arm/include/asm/arch-tegra2/ap20.h
arch/arm/include/asm/arch-tegra2/gp_padctrl.h
arch/arm/include/asm/arch-tegra2/tegra2.h