Kamal Dasu
054e532f8f
spi: bcm-qspi: Remove hardcoded settings and spi-nor.h dependency
...
The newly added broadcom qspi driver in drivers/spi produces a build
warning when CONFIG_MTD is disabled:
include/linux/mtd/cfi.h:76:2: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Werror=cpp]
There has been discussion on this in the link provided below. This fix in
SPI controller drivers implementing the ->spi_flash_read handler, now uses the
settings provided inside the 'struct spi_flash_read_message' parameter instead
of hardcoding them. Made changes to bcm_qspi_bspi_set_flex_mode() to set the BSPI
controller using the passed msg structure and remove the need to include
<linux/mtd/spi-nor.h> file by removing all use of SPINOR_OP_READ* macros.
Fixes: 4e3b2d236f ("spi: bcm-qspi: Add BSPI spi-nor flash controller driver")
Link: https://patchwork.kernel.org/patch/9624585/
Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2017-07-28 11:11:35 +01:00
..
2017-07-14 22:27:13 -07:00
2017-06-09 11:00:45 +02:00
2017-07-06 09:41:58 -07:00
2017-07-01 07:39:08 -07:00
2017-07-14 22:39:35 -07:00
2017-07-11 15:36:52 -07:00
2017-07-05 12:31:59 -07:00
2017-07-09 18:48:37 -07:00
2017-06-27 12:13:45 -06:00
2017-07-15 12:44:02 -07:00
2017-07-15 10:59:54 -07:00
2017-07-04 14:47:47 -07:00
2017-07-14 22:24:25 -07:00
2017-07-07 13:55:45 -07:00
2017-07-14 22:49:50 -07:00
2017-07-07 19:38:17 -07:00
2017-07-06 10:17:24 +09:00
2017-05-27 15:41:45 -04:00
2017-07-08 12:36:50 -07:00
2017-06-29 10:37:50 +02:00
2017-06-12 10:00:24 +09:00
2017-06-16 11:48:40 -04:00
2017-07-12 16:26:02 -07:00
2017-06-09 11:52:09 +02:00
2017-07-07 13:30:05 -07:00
2017-07-15 11:47:27 -07:00
2017-07-10 09:22:48 -07:00
2017-07-04 14:28:22 -07:00
2017-07-06 12:10:33 -07:00
2017-06-24 08:58:06 -07:00
2017-07-03 20:55:59 -07:00
2017-07-12 10:04:56 -07:00
2017-06-20 19:27:14 -06:00
2017-06-29 22:58:35 +02:00
2017-07-04 11:48:27 -07:00
2017-07-13 14:27:32 -07:00
2017-07-14 22:53:37 -07:00
2017-07-12 10:00:04 -07:00
2017-07-05 17:09:27 -07:00
2017-07-05 13:13:32 -07:00
2017-07-06 11:32:40 -07:00
2017-07-07 13:17:36 -06:00
2017-07-05 13:13:32 -07:00
2017-07-07 10:24:07 -07:00
2017-07-11 15:36:52 -07:00
2017-07-09 18:48:37 -07:00
2017-07-04 14:47:47 -07:00
2017-06-09 09:27:32 -06:00
2017-07-11 09:55:47 -07:00
2017-07-07 13:55:45 -07:00
2017-07-14 13:10:06 -07:00
2017-07-13 12:07:44 -07:00
2017-06-09 12:45:05 +02:00
2017-07-14 13:31:52 -07:00
2017-07-01 14:30:39 -07:00
2017-07-06 11:30:08 -04:00
2017-07-11 15:36:52 -07:00
2017-07-11 15:36:52 -07:00
2017-06-09 12:08:27 +02:00
2017-07-10 15:23:45 -07:00
2017-07-05 21:46:42 +02:00
2017-07-14 22:24:25 -07:00
2017-06-12 16:14:30 +02:00
2017-06-26 10:54:27 +01:00
2017-06-16 13:22:26 +05:30
2017-07-06 11:38:59 -07:00
2017-07-15 10:59:54 -07:00
2017-07-07 12:40:27 -07:00
2017-07-13 11:47:59 -07:00
2017-06-28 00:38:34 +02:00
2017-07-06 11:40:58 +01:00
2017-07-13 11:49:52 -07:00
2017-07-05 17:09:27 -07:00
2017-07-03 16:52:21 +01:00
2017-06-27 16:21:34 -07:00
2017-07-04 14:47:47 -07:00
2017-07-06 15:38:31 -07:00
2017-07-13 12:15:06 -07:00
2017-07-12 16:26:04 -07:00
2017-06-27 12:13:45 -06:00
2017-07-13 14:27:32 -07:00
2017-07-06 16:24:30 -07:00
2017-07-04 14:47:47 -07:00
2017-07-28 11:11:35 +01:00
2017-06-03 19:05:47 +09:00
2017-07-13 12:07:44 -07:00
2017-07-15 12:44:02 -07:00
2017-07-14 13:12:32 -07:00
2017-06-09 11:44:17 +02:00
2017-07-12 16:26:04 -07:00
2017-07-12 16:26:04 -07:00
2017-07-03 20:27:48 -07:00
2017-07-13 12:23:54 -07:00
2017-07-13 14:27:32 -07:00
2017-07-13 12:38:49 -07:00
2017-06-18 23:13:35 +03:00
2017-06-09 11:54:54 +02:00
2017-07-11 09:59:37 -07:00
2017-07-13 14:27:32 -07:00
2017-06-03 19:29:26 +09:00
2017-06-03 19:29:26 +09:00