ARM: tegra: support T33 SKU of Tegra30
authorStephen Warren <swarren@nvidia.com>
Wed, 27 Mar 2013 09:37:02 +0000 (09:37 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 15 Apr 2013 18:01:37 +0000 (11:01 -0700)
commiteb222d1d7de5946501ed15c49f9d23bc05fc5a87
tree7d35775ea230bbb6dde9183cc756220319b58886
parentc4a4e2e20ca226948b62ed116df98f7a3932f2ac
ARM: tegra: support T33 SKU of Tegra30

Make U-Boot aware of the T33 SKU of Tegra30, and treat it identically
to any other Tegra30.

An alternative would be to simply remove the SKU checking from
tegra_get_chip_type(); most use of the value most likely simply wants
to know the current chip, not the specific SKU. Or, the function could
be split into separate tegra_get_chip() and tegra_get_sku() for the
cases where differentiation really is required.

I wonder whether tegra_get_chip_type() should printf() whenever any
unkown chip/SKU is found, although perhaps the function is called so
early that the printf() wouldn't actually make it to the UART anyway.

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