diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-19 10:40:01 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-05 12:24:41 -0700 |
commit | a1a8a633859ce6ecfe298e3b40eb97c49248f8a0 (patch) | |
tree | d6c1c122405793434303b6cf635c2ea6b7e38d00 /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | e2a7cfe9d5fce65789972a31ff50fb1d8d509848 (diff) | |
download | u-boot-a1a8a633859ce6ecfe298e3b40eb97c49248f8a0.tar.gz u-boot-a1a8a633859ce6ecfe298e3b40eb97c49248f8a0.tar.xz u-boot-a1a8a633859ce6ecfe298e3b40eb97c49248f8a0.zip |
spi: Tweak a few strange SPI NOR features for of-platdata
The #define of one struct to another has been around for a while. It
confuses dtoc and makes it think that struct spi_flash does not exist.
Make a few changes to improve things while we wait for migration to be
completed:
- Move the 'struct spi_flash' to column 1 so dtoc scans it
- Remove the #define when compiling dt-platdata.c
- Update the strange mtd_get/set_of_node() functions
- Use struct spi_nor in the drivers, so dtoc sees the correct struct
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions