mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
410f525794
commit
47c331ede1
3 changed files with 32 additions and 8 deletions
|
@ -716,6 +716,17 @@ static inline u8 is_dra72x(void)
|
|||
#define DRA722_ES1_0 0x07220100
|
||||
#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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue