projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a8a63
)
x86: apl: Use struct spi_nor instead of struct spi_flash
author
Simon Glass
<sjg@chromium.org>
Sat, 19 Dec 2020 17:40:02 +0000
(10:40 -0700)
committer
Simon Glass
<sjg@chromium.org>
Tue, 5 Jan 2021 19:24:41 +0000
(12:24 -0700)
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>
arch/x86/cpu/apollolake/spl.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/apollolake/spl.c
b/arch/x86/cpu/apollolake/spl.c
index 16a2f15c6bcc885843b6cc438c5d35611324f0a5..8991d5e648e6f7b3a6de55e67d3da3a1df713ef3 100644
(file)
--- a/
arch/x86/cpu/apollolake/spl.c
+++ b/
arch/x86/cpu/apollolake/spl.c
@@
-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,
};