Searched refs:retire_id (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/cmd/ |
H A D | otp.c | 2357 static int otp_retire_key(u32 retire_id, int force) in otp_retire_key() argument 2372 printf("input retire ID: 0x%x\n", retire_id); in otp_retire_key() 2380 if (retire_id >= current_id) { in otp_retire_key() 2385 if (krb_or & (1 << retire_id)) { in otp_retire_key() 2386 printf("Key 0x%X already retired\n", retire_id); in otp_retire_key() 2390 printf("OTPCFG0x4[0x%X] will be programmed\n", retire_id); in otp_retire_key() 2399 if (otp_prog_dc_b(1, 0x808, retire_id) == OTP_FAILURE) { in otp_retire_key() 2400 printf("OTPCFG0x4[0x%X] programming failed\n", retire_id); in otp_retire_key() 2401 printf("try to program backup OTPCFG0x4[0x%X]\n", retire_id + 16); in otp_retire_key() 2402 if (otp_prog_dc_b(1, 0x808, retire_id + 16) == OTP_FAILURE) in otp_retire_key() [all …]
|