x86: apl: Use struct spi_nor instead of struct spi_flash
This construct effectively uses struct spi_nor due to a #define in spi-nor.h so we may as well use that struct here. This allows dtoc to parse it correctly. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a1a8a63385
commit
332b98660f
@ -97,7 +97,7 @@ U_BOOT_DRIVER(winbond_w25q128fw) = {
|
||||
.id = UCLASS_SPI_FLASH,
|
||||
.of_match = apl_flash_ids,
|
||||
.probe = apl_flash_probe,
|
||||
.priv_auto = sizeof(struct spi_flash),
|
||||
.priv_auto = sizeof(struct spi_nor),
|
||||
.ops = &apl_flash_ops,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user