7 #include <soc/addressmap.h>
46 die(
"otp: idx out of bounds");
83 for (
int i = 0xfe; i > 0; i -= 2) {
static void write32(void *addr, uint32_t val)
static uint32_t read32(const void *addr)
void __noreturn die(const char *fmt,...)
void mdelay(unsigned int msecs)
u32 otp_read_serial(void)
struct sifive_otp_registers __packed
u32 otp_read_word(u16 idx)