1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-01 06:27:10 +01:00
Files
u-boot-megous/include/linux/mtd
Simon Glass a1a8a63385 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>
2021-01-05 12:24:41 -07:00
..
2021-01-05 12:24:41 -07:00
2016-06-03 20:27:48 -05:00
2021-01-05 12:24:41 -07:00
2009-11-13 16:56:18 -06:00
2021-01-05 12:24:41 -07:00