spi_nor_otp_size
if (ofs < 0 || ofs >= spi_nor_otp_size(nor))
total_len = min_t(size_t, total_len, spi_nor_otp_size(nor) - ofs);
if (from < 0 || (from + len) > spi_nor_otp_size(nor))
if (from < 0 || (from + len) > spi_nor_otp_size(nor))