aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2017-08-22 15:18:08 -0500
committerJean-Jacques Hiblot2017-08-23 09:38:00 -0500
commitd19f98205a1070f60de22b97774367af84e231e1 (patch)
treeb1cbb4fe537a6e49c4aa11a377ab37f30c9c13a9
parentd216ca1dcf7c7ed5c44d1aaef16dadae04808d69 (diff)
downloadkernel-omap-d19f98205a1070f60de22b97774367af84e231e1.tar.gz
kernel-omap-d19f98205a1070f60de22b97774367af84e231e1.tar.xz
kernel-omap-d19f98205a1070f60de22b97774367af84e231e1.zip
ARM: DRA722: Add support for DRA71x Silicon Rev 2.1
commit 913e582135a1ad6eb91b743dcb5f64d2e15e025f branch ti-linux-4.9.y DRA71x processors are reduced pin and software compatible derivative of DRA72 processors. Silicon Rev 2.1 is a minor variant of DRA71x Rev 2.0 with various fixes including the following: - NAND boot fixes - ROM update for secure boot crypto enhancement Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
-rw-r--r--arch/arm/mach-omap2/id.c5
-rw-r--r--arch/arm/mach-omap2/soc.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index a42faa42fd5e..5a357f5a1b6c 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -677,9 +677,12 @@ void __init dra7xxx_check_revision(void)
677 omap_revision = DRA722_REV_ES1_0; 677 omap_revision = DRA722_REV_ES1_0;
678 break; 678 break;
679 case 1: 679 case 1:
680 default:
681 omap_revision = DRA722_REV_ES2_0; 680 omap_revision = DRA722_REV_ES2_0;
682 break; 681 break;
682 case 2:
683 default:
684 omap_revision = DRA722_REV_ES2_1;
685 break;
683 } 686 }
684 break; 687 break;
685 688
diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h
index 85e3b598d036..1ae1b6fe0370 100644
--- a/arch/arm/mach-omap2/soc.h
+++ b/arch/arm/mach-omap2/soc.h
@@ -494,6 +494,7 @@ IS_OMAP_TYPE(3430, 0x3430)
494#define DRA752_REV_ES2_0 (DRA7XX_CLASS | (0x52 << 16) | (0x20 << 8)) 494#define DRA752_REV_ES2_0 (DRA7XX_CLASS | (0x52 << 16) | (0x20 << 8))
495#define DRA722_REV_ES1_0 (DRA7XX_CLASS | (0x22 << 16) | (0x10 << 8)) 495#define DRA722_REV_ES1_0 (DRA7XX_CLASS | (0x22 << 16) | (0x10 << 8))
496#define DRA722_REV_ES2_0 (DRA7XX_CLASS | (0x22 << 16) | (0x20 << 8)) 496#define DRA722_REV_ES2_0 (DRA7XX_CLASS | (0x22 << 16) | (0x20 << 8))
497#define DRA722_REV_ES2_1 (DRA7XX_CLASS | (0x22 << 16) | (0x21 << 8))
497 498
498void omap2xxx_check_revision(void); 499void omap2xxx_check_revision(void);
499void omap3xxx_check_revision(void); 500void omap3xxx_check_revision(void);