Switchtec Userspace  PROJECT_NUMBER = 3.1
Functions
Manufacturing Functions

Manufacturing-related API functions. More...

Functions

int switchtec_sn_ver_get (struct switchtec_dev *dev, struct switchtec_sn_ver_info *info)
 Get serial number and security version. More...
 

Detailed Description

Manufacturing-related API functions.

These are functions used during manufacturing process. These includes functions that configure device security settings and recover device from boot failures.

Some of these functions modify device One-Time-Programming (OTP) memory, so they should be used with great caution, and you should really know what you are doing when calling these functions. FAILURE TO DO SO COULD MAKE YOUR DEVICE UNBOOTABLE!!

Function Documentation

◆ switchtec_sn_ver_get()

int switchtec_sn_ver_get ( struct switchtec_dev *  dev,
struct switchtec_sn_ver_info info 
)

Get serial number and security version.

Parameters
[in]devSwitchtec device handle
[out]infoSerial number and security version info
Returns
0 on success, error code on failure

Definition at line 1003 of file mfg.c.