Searched refs:otp_addr (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/cmd/ |
H A D | otp.c | 362 static void otp_write(u32 otp_addr, u32 data) in otp_write() argument 364 writel(otp_addr, OTP_ADDR); //write address in otp_write() 440 static int otp_compare(u32 otp_addr, u32 addr) in otp_compare() argument 450 writel(otp_addr, OTP_ADDR); //Compare address in otp_compare() 464 static int verify_bit(u32 otp_addr, int bit_offset, int value) in verify_bit() argument 468 if (otp_addr % 2 == 0) in verify_bit() 469 writel(otp_addr, OTP_ADDR); //Read address in verify_bit() 471 writel(otp_addr - 1, OTP_ADDR); //Read address in verify_bit() 478 if (otp_addr % 2 == 0) { in verify_bit() 491 static u32 verify_dw(u32 otp_addr, u32 *value, u32 *ignore, u32 *compare, int size) in verify_dw() argument [all …]
|