ARM: DRA722: Add support for DRA71x Silicon Rev 2.1
authorVishal Mahaveer <vishalm@ti.com>
Thu, 31 Aug 2017 02:40:29 +0000 (21:40 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Oct 2017 19:41:15 +0000 (12:41 -0700)
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: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/id.c
arch/arm/mach-omap2/soc.h

index 16cb1c195fd8ef775c328b1273507875a9e6806b..df2c29edbbcd50444b11add3575d30220643c01d 100644 (file)
@@ -693,9 +693,12 @@ void __init dra7xxx_check_revision(void)
                        omap_revision = DRA722_REV_ES1_0;
                        break;
                case 1:
-               default:
                        omap_revision = DRA722_REV_ES2_0;
                        break;
+               case 2:
+               default:
+                       omap_revision = DRA722_REV_ES2_1;
+                       break;
                }
                break;
 
index 19cbbed4a2838afe0c832a1074781704b2c98ee1..28fa1f8d8363194c8b453904c90eb7b9595f47a3 100644 (file)
@@ -396,6 +396,7 @@ IS_OMAP_TYPE(3430, 0x3430)
 #define DRA752_REV_ES2_0       (DRA7XX_CLASS | (0x52 << 16) | (0x20 << 8))
 #define DRA722_REV_ES1_0       (DRA7XX_CLASS | (0x22 << 16) | (0x10 << 8))
 #define DRA722_REV_ES2_0       (DRA7XX_CLASS | (0x22 << 16) | (0x20 << 8))
+#define DRA722_REV_ES2_1       (DRA7XX_CLASS | (0x22 << 16) | (0x21 << 8))
 
 void omap2xxx_check_revision(void);
 void omap3xxx_check_revision(void);