Cédric Le Goater
9da06d7bde
spi: aspeed: Add support for direct mapping
...
Use direct mapping to read the flash device contents. This operation
mode is called "Command mode" on Aspeed SoC SMC controllers. It uses a
Control Register for the settings to apply when a memory operation is
performed on the flash device mapping window.
If the window is not big enough, fall back to the "User mode" to
perform the read.
Direct mapping for writes will come later when validated.
Reviewed-by: Joel Stanley <joel@jms.id.au>
Tested-by: Joel Stanley <joel@jms.id.au>
Tested-by: Tao Ren <rentao.bupt@gmail.com>
Tested-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Link: https://lore.kernel.org/r/20220509175616.1089346-5-clg@kaod.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-05-16 12:59:16 +01:00
..
2022-04-13 16:43:13 +01:00
2018-04-23 15:48:18 +01:00
2022-05-16 12:59:15 +01:00
2022-05-16 12:59:15 +01:00
2021-04-20 17:26:40 +01:00
2021-10-20 01:53:15 +01:00
2021-10-20 01:53:15 +01:00
2022-02-16 16:34:25 +00:00
2022-01-04 14:59:40 +00:00
2022-01-26 12:58:14 +00:00
2022-05-16 12:59:16 +01:00
2021-10-20 00:23:21 +01:00
2022-02-08 13:40:18 +00:00
2022-01-07 13:36:37 +00:00
2021-01-22 16:26:21 +00:00
2021-03-12 14:30:42 +00:00
2021-03-10 12:25:12 +00:00
2021-03-12 14:30:43 +00:00
2021-07-20 13:34:05 +01:00
2022-02-01 16:08:47 +00:00
2022-04-06 15:50:11 +01:00
2019-06-19 17:09:09 +02:00
2022-02-22 11:56:41 +00:00
2021-06-01 14:03:12 +01:00
2019-06-19 17:09:09 +02:00
2021-03-10 12:46:05 +00:00
2022-05-12 15:43:03 +01:00
2022-03-07 13:16:07 +00:00
2022-05-13 13:43:05 +01:00
2019-09-04 17:17:27 +01:00
2020-06-16 00:38:39 +01:00
2019-10-15 11:51:57 +01:00
2017-11-02 11:10:55 +01:00
2022-04-25 14:01:09 +01:00
2021-08-19 18:20:10 +01:00
2021-08-24 20:53:24 +01:00
2021-12-23 13:38:38 +00:00
2021-11-16 14:30:05 +00:00
2021-12-23 13:38:39 +00:00
2021-11-16 14:30:05 +00:00
2021-11-16 14:30:09 +00:00
2021-11-16 14:30:05 +00:00
2021-11-16 14:30:10 +00:00
2021-08-03 18:27:24 +01:00
2021-03-12 14:30:48 +00:00
2022-03-18 16:05:08 +00:00
2020-08-23 17:36:59 -05:00
2019-05-30 11:26:32 -07:00
2021-08-10 13:22:19 +01:00
2021-03-12 14:30:49 +00:00
2019-05-30 11:26:32 -07:00
2019-08-28 14:10:41 +01:00
2021-11-15 13:27:16 +00:00
2022-05-09 12:48:47 +01:00
2021-06-01 14:03:12 +01:00
2019-05-30 11:26:32 -07:00
2022-01-28 16:00:24 +00:00
2022-02-22 11:56:41 +00:00
2021-11-17 13:04:54 +00:00
2021-04-12 17:07:38 +01:00
2022-04-22 12:37:36 +01:00
2022-05-09 18:18:16 +01:00
2022-04-25 14:00:51 +01:00
2022-04-13 13:47:37 +01:00
2022-02-14 12:53:09 +00:00
2022-04-20 14:25:20 +01:00
2022-02-14 12:53:09 +00:00
2019-05-30 11:26:41 -07:00
2021-03-24 19:51:09 +00:00
2022-02-21 13:25:19 +00:00
2021-05-20 18:00:34 +01:00
2021-05-10 13:07:53 +01:00
2019-09-04 17:18:35 +01:00
2022-05-11 19:48:07 +01:00
2022-01-26 13:32:36 +00:00
2022-01-07 13:36:38 +00:00
2022-04-05 10:21:55 +01:00
2022-04-05 10:21:55 +01:00
2022-02-02 16:09:29 +00:00
2022-04-19 16:32:14 +01:00
2020-12-07 14:18:59 +00:00
2022-04-12 17:18:51 +01:00
2022-05-03 14:00:38 +01:00
2021-10-14 13:32:19 +01:00
2022-04-04 08:45:14 +01:00
2022-04-25 14:00:59 +01:00
2022-03-07 13:16:58 +00:00
2021-05-11 15:42:48 +01:00
2021-10-02 01:31:49 +01:00
2021-05-11 15:42:49 +01:00
2022-05-04 16:02:36 +01:00
2021-05-20 17:58:33 +01:00
2021-06-01 18:33:33 +01:00
2021-10-15 16:10:59 +01:00
2019-09-04 17:20:52 +01:00
2022-01-31 15:17:30 +00:00
2021-10-26 11:53:57 +01:00
2021-05-20 18:00:40 +01:00
2021-05-18 14:05:35 +01:00
2022-02-28 12:10:27 +00:00
2022-02-16 16:34:26 +00:00
2021-11-29 12:19:59 +00:00
2021-03-16 10:14:11 +05:30
2022-03-07 13:16:08 +00:00
2020-12-07 14:18:55 +00:00
2021-02-04 18:45:57 +00:00
2022-03-10 12:17:56 +00:00
2022-04-25 14:01:01 +01:00
2022-04-04 08:38:59 +01:00
2022-04-12 17:17:22 +01:00
2020-08-19 21:40:14 +02:00
2022-01-24 13:37:34 +00:00
2022-03-08 20:07:09 +00:00
2021-05-21 13:13:33 +01:00
2019-10-15 11:51:57 +01:00
2021-09-17 13:17:50 +01:00
2019-06-19 17:09:55 +02:00
2021-03-12 14:30:45 +00:00
2019-11-04 13:26:11 +00:00
2021-03-23 17:19:45 +00:00
2022-02-09 13:00:45 +00:00
2022-02-09 13:00:45 +00:00
2021-08-26 12:09:38 +01:00
2022-04-25 14:00:57 +01:00
2022-02-01 16:08:45 +00:00
2022-05-11 19:48:07 +01:00
2022-04-25 14:01:08 +01:00
2022-03-15 12:03:58 +00:00
2021-06-23 11:48:36 +01:00
2022-04-19 13:13:42 +01:00
2021-02-03 16:23:07 +00:00
2022-04-25 14:01:03 +01:00
2022-04-25 14:01:06 +01:00
2022-04-19 13:13:44 +01:00
2022-03-08 12:28:05 +00:00
2019-05-30 11:26:37 -07:00
2022-04-19 13:13:45 +01:00
2022-02-09 13:00:45 +00:00
2022-03-08 12:28:07 +00:00
2022-01-26 15:52:05 +00:00
2019-10-15 11:51:57 +01:00
2020-09-17 19:56:01 +01:00
2021-11-15 13:27:17 +00:00
2019-10-01 12:35:18 +01:00
2022-02-08 13:37:50 +00:00
2022-03-02 13:45:36 +00:00
2022-04-19 13:13:50 +01:00
2022-04-19 13:13:48 +01:00