hisi_spi_nor_get_if_type
if_type = hisi_spi_nor_get_if_type(nor->read_proto);
if_type = hisi_spi_nor_get_if_type(nor->write_proto);