diff options
author | Simon Glass <sjg@chromium.org> | 2018-06-11 13:07:16 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-07-09 09:11:00 -0600 |
commit | 008dcddf9937bd2576f98b48eb5bf0f60ad36014 (patch) | |
tree | 751ddfe6e97f7e2e2df1d6f542e77d0d34fa5503 /include/spi_flash.h | |
parent | d677b00cb62a4cf4d4a24468f218581b4f57c2fe (diff) | |
download | u-boot-008dcddf9937bd2576f98b48eb5bf0f60ad36014.tar.gz |
dm: spi: Update sandbox SPI emulation driver to use ofnode
Update the parameters sandbox_sf_bind_emul to support livetree.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r-- | include/spi_flash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h index 22533311c5..0ec98fb55d 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -185,7 +185,7 @@ static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, struct sandbox_state; int sandbox_sf_bind_emul(struct sandbox_state *state, int busnum, int cs, - struct udevice *bus, int of_offset, const char *spec); + struct udevice *bus, ofnode node, const char *spec); void sandbox_sf_unbind_emul(struct sandbox_state *state, int busnum, int cs); |