]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/tegra-common/ap.c
ARM: tegra: only enable SCU on Tegra20
[karo-tx-uboot.git] / arch / arm / cpu / tegra-common / ap.c
index e099683890457797188f30bb39c820cfccc682d5..9e6d51dd12a37f12597945336fad7432adbd62c3 100644 (file)
@@ -109,6 +109,10 @@ static void enable_scu(void)
        struct scu_ctlr *scu = (struct scu_ctlr *)NV_PA_ARM_PERIPHBASE;
        u32 reg;
 
+       /* Only enable the SCU on T20/T25 */
+       if (tegra_get_chip() != CHIPID_TEGRA20)
+               return;
+
        /* If SCU already setup/enabled, return */
        if (readl(&scu->scu_ctrl) & SCU_CTRL_ENABLE)
                return;