aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/reset.c')
-rw-r--r--arch/arm/mach-tegra/reset.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/reset.c b/arch/arm/mach-tegra/reset.c
index b90507922a8c..f94fdf89d457 100644
--- a/arch/arm/mach-tegra/reset.c
+++ b/arch/arm/mach-tegra/reset.c
@@ -19,6 +19,8 @@
19#include <linux/init.h> 19#include <linux/init.h>
20#include <linux/io.h> 20#include <linux/io.h>
21 21
22#include <soc/tegra/fuse.h>
23
22#include <asm/cacheflush.h> 24#include <asm/cacheflush.h>
23#include <asm/firmware.h> 25#include <asm/firmware.h>
24#include <asm/hardware/cache-l2x0.h> 26#include <asm/hardware/cache-l2x0.h>
@@ -53,7 +55,7 @@ static void __init tegra_cpu_reset_handler_set(const u32 reset_address)
53 * Prevent further modifications to the physical reset vector. 55 * Prevent further modifications to the physical reset vector.
54 * NOTE: Has no effect on chips prior to Tegra30. 56 * NOTE: Has no effect on chips prior to Tegra30.
55 */ 57 */
56 if (tegra_chip_id != TEGRA20) { 58 if (tegra_get_chip_id() != TEGRA20) {
57 reg = readl(sb_ctrl); 59 reg = readl(sb_ctrl);
58 reg |= 2; 60 reg |= 2;
59 writel(reg, sb_ctrl); 61 writel(reg, sb_ctrl);