u-boot/drivers/mtd/spi
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
..
fsl_espi_spl.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
Kconfig dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
Makefile spi: Allow separate control of SPI_FLASH_TINY for SPL/TPL 2020-08-03 22:19:54 -04:00
sandbox.c dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
sf-uclass.c spi: Tweak a few strange SPI NOR features for of-platdata 2021-01-05 12:24:41 -07:00
sf_dataflash.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sf_internal.h mtd: spi: Fix incorrect indentation 2020-10-27 08:13:33 +01:00
sf_mtd.c common: Drop flash.h from common header 2020-05-18 14:53:28 -04:00
sf_probe.c spi: Tweak a few strange SPI NOR features for of-platdata 2021-01-05 12:24:41 -07:00
spi-nor-core.c mtd: spi: Include dm.h in spi-nor-core.c 2020-09-30 08:52:39 -04:00
spi-nor-ids.c mtd: spi-nor-ids: add support for Macronix mx25u12835f flash 2020-09-24 10:13:22 +02:00
spi-nor-tiny.c mtd: spi: Fix logging in spi-nor-tiny 2020-09-30 08:52:41 -04:00