diff options
Diffstat (limited to 'include/spi_nor.h')
-rw-r--r-- | include/spi_nor.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/spi_nor.h b/include/spi_nor.h index 77347399d7..f0c379cd43 100644 --- a/include/spi_nor.h +++ b/include/spi_nor.h @@ -41,8 +41,10 @@ struct spi_nor_device_t { /* Name of the Serial NOR Flash device. */ const char *name; - /* Index of the SPI master which this device is connected through. */ - const enum spi_device spi_master; + /* Index of the SPI controller which this device is connected + * through. + */ + const enum spi_device spi_controller; /* Maximum timeout per command in microseconds. */ const uint32_t timeout_usec; @@ -109,9 +111,9 @@ int spi_nor_init(void); * * WARNING: * 1) In 3 Byte addressing mode only 16MiB of Serial NOR Flash is accessible. - * 2) If there's a second SPI master communicating with this Serial NOR Flash - * part on the board, the user is responsible for ensuring addressing mode - * compatibility and cooperation. + * 2) If there's a second SPI controller communicating with this Serial + * NOR Flash part on the board, the user is responsible for ensuring + * addressing mode compatibility and cooperation. * 3) The user must ensure that multiple users do not trample on each other * by having multiple parties changing the device's addressing mode. * |