diff options
-rw-r--r-- | arch/arm/cpu/armv7/tegra-common/warmboot.c | 2 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-tegra/warmboot.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/tegra-common/warmboot.c b/arch/arm/cpu/armv7/tegra-common/warmboot.c index beb7a146edc..41e50036f97 100644 --- a/arch/arm/cpu/armv7/tegra-common/warmboot.c +++ b/arch/arm/cpu/armv7/tegra-common/warmboot.c @@ -101,7 +101,7 @@ static enum fuse_operating_mode fuse_get_operation_mode(void) (struct apb_misc_gp_ctlr *)NV_PA_APB_MISC_GP_BASE; chip_id = bf_readl(HIDREV_CHIPID, &gp->hidrev); - if (chip_id == CHIPID_TEGRA2) { + if (chip_id == CHIPID_TEGRA2 || chip_id == CHIPID_TEGRA3) { if (is_odm_production_mode()) { printf("!! odm_production_mode is not supported !!\n"); return MODE_UNDEFINED; diff --git a/arch/arm/include/asm/arch-tegra/warmboot.h b/arch/arm/include/asm/arch-tegra/warmboot.h index be264900bd6..98120c4c190 100644 --- a/arch/arm/include/asm/arch-tegra/warmboot.h +++ b/arch/arm/include/asm/arch-tegra/warmboot.h @@ -33,7 +33,10 @@ #define HIDREV_HIDFAM_RANGE 3 : 0 /* CHIPID field returned from APB_MISC_GP_HIDREV register */ -#define CHIPID_TEGRA2 0x20 +enum tegra_chip_id { + CHIPID_TEGRA2 = 0x20, + CHIPID_TEGRA3 = 0x30, +}; #define STRAP_OPT_A_RAM_CODE_RANGE 7 : 4 |