1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-30 10:07:09 +01:00
Files
u-boot-megous/include
Suniel Mahesh 1699f0e592 arm: imx6: cm_fx6: Enable DM SPI and SPI_FLASH, fix SPL build errors
Enable driver model for SPI and SPI_FLASH to remove the following
compile warning on CM-FX6 SOM:
===================== WARNING ======================
This board does not use CONFIG_DM_SPI_FLASH. Please update
the board to use CONFIG_SPI_FLASH before the v2019.07 release.
====================================================

This change introduced SPL build error as shown:

In file included from include/common.h:47:0,
                 from drivers/mtd/spi/sf_probe.c:10:
drivers/mtd/spi/sf_probe.c: In function 'spi_flash_std_probe':
drivers/mtd/spi/sf_probe.c:149:54: error: dereferencing pointer to incomplete type 'struct dm_spi_slave_platdata'
scripts/Makefile.build:278: recipe for target 'spl/drivers/mtd/spi/sf_probe.o' failed
make[3]: *** [spl/drivers/mtd/spi/sf_probe.o] Error 1
scripts/Makefile.build:432: recipe for target 'spl/drivers/mtd/spi' failed
make[2]: *** [spl/drivers/mtd/spi] Error 2

Disabling DM for SPI support(SPI and SF) in SPL resolves the issue.
Target was compile tested, build was clean.

Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
2020-01-07 10:26:56 +01:00
..
2017-07-03 17:35:28 -04:00
2019-12-06 16:44:20 -05:00
2019-10-16 05:42:27 +02:00
2019-09-04 11:37:19 -05:00
2019-11-14 07:09:34 -06:00
2019-11-17 17:22:53 +08:00
2019-07-24 13:16:29 -04:00
2018-11-14 09:16:27 -08:00
2018-09-29 11:49:35 -06:00
2019-11-02 18:00:51 +08:00
2019-09-20 20:09:19 +02:00
2019-07-19 11:11:09 +08:00
2019-04-23 20:26:43 -06:00
2019-12-09 09:47:43 -06:00
2019-10-13 23:34:43 +02:00
2019-10-06 16:02:37 +02:00
2019-04-22 12:06:39 -04:00
2018-09-23 21:55:30 +02:00
2019-02-20 15:27:09 +08:00
2018-06-13 07:49:12 -04:00
2018-12-06 23:26:32 -05:00
2019-02-09 12:50:22 -07:00
2018-10-22 13:01:27 +02:00
2019-10-14 09:31:41 +02:00
2019-11-05 10:27:18 +01:00
2018-12-05 06:01:35 -07:00
2017-07-23 09:24:47 -04:00
2019-11-07 18:39:16 -05:00
2018-04-06 17:04:33 -04:00
2019-08-11 16:43:41 -04:00
2019-02-02 08:19:17 -05:00
2019-12-02 18:23:11 -05:00
2019-08-02 11:19:14 -04:00
2019-05-20 13:50:34 +02:00
2018-10-02 22:12:32 +05:30
2018-10-09 04:40:27 -06:00
2019-05-20 13:50:34 +02:00
2019-12-06 16:44:19 -05:00
2018-07-19 16:31:37 -04:00
2019-11-03 07:20:26 +08:00
2019-02-01 16:59:12 +01:00
2019-05-21 17:33:23 -06:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06:00
2018-09-28 18:26:32 +02:00
2019-12-02 18:23:09 -05:00
2019-07-19 20:14:50 +02:00