2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2012-04-02 13:18:49 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2010,2011
|
|
|
|
* NVIDIA Corporation <www.nvidia.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _FUSE_H_
|
|
|
|
#define _FUSE_H_
|
|
|
|
|
|
|
|
/* FUSE registers */
|
|
|
|
struct fuse_regs {
|
|
|
|
u32 reserved0[64]; /* 0x00 - 0xFC: */
|
|
|
|
u32 production_mode; /* 0x100: FUSE_PRODUCTION_MODE */
|
|
|
|
u32 reserved1[3]; /* 0x104 - 0x10c: */
|
|
|
|
u32 sku_info; /* 0x110 */
|
|
|
|
u32 reserved2[13]; /* 0x114 - 0x144: */
|
|
|
|
u32 fa; /* 0x148: FUSE_FA */
|
|
|
|
u32 reserved3[21]; /* 0x14C - 0x19C: */
|
|
|
|
u32 security_mode; /* 0x1A0: FUSE_SECURITY_MODE */
|
|
|
|
};
|
|
|
|
|
2023-06-30 07:29:02 +00:00
|
|
|
/**
|
|
|
|
* Calculate SoC UID
|
|
|
|
*
|
|
|
|
* Return: uid if ok, 0 on error
|
|
|
|
*/
|
|
|
|
unsigned long long tegra_chip_uid(void);
|
|
|
|
|
2012-04-02 13:18:49 +00:00
|
|
|
#endif /* ifndef _FUSE_H_ */
|