From 794288699c9b66afdb1a39c84e65066c0c44d5f0 Mon Sep 17 00:00:00 2001 From: Zhang Jiejing Date: Mon, 27 Aug 2012 17:53:59 +0800 Subject: ENGR00221503-2 imx6: add cpu serial number support. add cpu serial number tag, kernel will read this number and put it in /proc/cpuinfo, as 'Serial' part it can be used as a UUID source in software. Signed-off-by: Zhang Jiejing --- include/asm-arm/arch-mx6/mx6.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/asm-arm') diff --git a/include/asm-arm/arch-mx6/mx6.h b/include/asm-arm/arch-mx6/mx6.h index d03adc9..efb90c2 100644 --- a/include/asm-arm/arch-mx6/mx6.h +++ b/include/asm-arm/arch-mx6/mx6.h @@ -105,6 +105,16 @@ */ #define DVFS_MAX_PIX_CLK 54000000 +/*! + * The Low 32 bits of CPU Serial Number Fuse Index + */ +#define CPU_UID_LOW_FUSE_INDEX 1 + +/*! + * The High 32 bits of CPU Serial Number Fuse Index + */ +#define CPU_UID_HIGH_FUSE_INDEX 2 + /* IROM */ -- cgit v1.1