summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/omap_common.h
diff options
context:
space:
mode:
authorDaniel Allred <d-allred@ti.com>2016-05-19 19:10:52 -0500
committerTom Rini <trini@konsulko.com>2016-05-27 15:41:37 -0400
commit47c331ede1ef339425348cdc762e1feab6779d06 (patch)
tree5c2f911ed1b284beb27310df7207a0252fa897d3 /arch/arm/include/asm/omap_common.h
parent410f52579498ebe7863c0b88f417eb2d9fb25551 (diff)
downloadu-boot-47c331ede1ef339425348cdc762e1feab6779d06.tar.gz
u-boot-47c331ede1ef339425348cdc762e1feab6779d06.tar.xz
u-boot-47c331ede1ef339425348cdc762e1feab6779d06.zip
ARM: omap-common: Add device type to CPU string
Update the CPU string output so that the device type is now included as part of the CPU string that is printed as the SPL or u-boot comes up. This update adds a suffix of the form "-GP" or "-HS" for production devices, so that general purpose (GP) and high security (HS) can be distiguished. Applies to all OMAP5 variants. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include/asm/omap_common.h')
-rw-r--r--arch/arm/include/asm/omap_common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h
index 8fb05e18b9..ac34b0e72f 100644
--- a/arch/arm/include/asm/omap_common.h
+++ b/arch/arm/include/asm/omap_common.h
@@ -717,6 +717,17 @@ static inline u8 is_dra72x(void)
#define DRA722_ES2_0 0x07220200
/*
+ * silicon device type
+ * Moving to common from cpu.h, since it is shared by various omap devices
+ */
+#define DEVICE_MASK (BIT(8) | BIT(9) | BIT(10))
+#define TST_DEVICE 0x0
+#define EMU_DEVICE 0x1
+#define HS_DEVICE 0x2
+#define GP_DEVICE 0x3
+
+
+/*
* SRAM scratch space entries
*/
#define OMAP_SRAM_SCRATCH_OMAP_REV SRAM_SCRATCH_SPACE_ADDR