ARM: tegra: remove tegra_chip_uid()
authorStephen Warren <swarren@nvidia.com>
Mon, 16 Sep 2013 15:34:19 +0000 (09:34 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Sep 2013 20:02:23 +0000 (06:02 +1000)
Following commit f5b38c5 "crypto: tegra - use kernel entropy instead
of ad-hoc", this function is no longer used. It's also only accurate
for Tegra20 and not later SoCs. So, remove it.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/mach-tegra/fuse.c

index e035cd284a6eb5e3bf1268acb00da3c5784e5ced..64652b37488627e1a3feea9d7b3224dd7773c7a3 100644 (file)
@@ -155,13 +155,3 @@ void tegra_init_fuse(void)
                tegra_sku_id, tegra_cpu_process_id,
                tegra_core_process_id);
 }
-
-unsigned long long tegra_chip_uid(void)
-{
-       unsigned long long lo, hi;
-
-       lo = tegra_fuse_readl(FUSE_UID_LOW);
-       hi = tegra_fuse_readl(FUSE_UID_HIGH);
-       return (hi << 32ull) | lo;
-}
-EXPORT_SYMBOL(tegra_chip_uid);