spi_flash: simplify usage by removing cmd, cmd_width, addr_width parameters