The sample code is copied from spi_flash. To flash API, there is no difference if the bus is spi or mspi. Signed-off-by: Swift Tian <swift.tian@ambiq.com>