Markus Armbruster
81c7db723e
hw: Use PFLASH_CFI0{1,2} and TYPE_PFLASH_CFI0{1,2}
...
We have two open-coded copies of macro PFLASH_CFI01(). Move the macro
to the header, so we can ditch the copies. Move PFLASH_CFI02() to the
header for symmetry.
We define macros TYPE_PFLASH_CFI01 and TYPE_PFLASH_CFI02 for type name
strings, then mostly use the strings. If the macros are worth
defining, they are worth using. Replace the strings by the macros.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20190308094610.21210-6-armbru@redhat.com>
2019-03-11 22:53:44 +01:00
..
2019-03-07 22:16:11 +01:00
2019-02-28 11:03:04 +00:00
2019-02-05 16:50:16 +01:00
2018-08-16 14:29:58 +01:00
2019-02-27 21:06:08 -06:00
2018-04-26 13:57:00 +01:00
2018-07-17 13:12:49 +01:00
2019-03-05 15:55:08 +00:00
2019-03-07 22:16:11 +01:00
2019-03-07 22:16:11 +01:00
2017-09-07 13:54:54 +01:00
2018-04-26 13:57:00 +01:00
2017-11-13 13:55:27 +00:00
2018-11-06 11:32:14 +00:00
2018-07-17 13:12:49 +01:00
2018-08-24 13:17:33 +01:00
2018-08-24 13:17:34 +01:00
2018-07-17 13:12:49 +01:00
2018-07-17 13:12:49 +01:00
2018-06-01 14:15:10 +02:00
2019-03-07 22:16:11 +01:00
2017-09-07 13:54:54 +01:00
2018-04-26 13:57:00 +01:00
2019-03-07 21:45:53 +01:00
2018-04-26 13:57:00 +01:00
2018-06-01 14:15:10 +02:00
2019-02-21 18:17:47 +00:00
2018-08-16 14:05:28 +01:00
2018-06-29 15:11:16 +01:00
2019-01-29 11:46:03 +00:00
2019-03-07 22:16:11 +01:00
2018-08-24 13:17:50 +01:00
2018-08-16 14:05:28 +01:00
2018-07-02 15:41:12 +02:00
2019-02-21 18:17:47 +00:00
2019-03-07 22:16:11 +01:00
2017-09-19 09:09:32 -03:00
2019-03-07 22:16:11 +01:00
2018-06-01 14:15:10 +02:00
2018-06-26 17:50:40 +01:00
2019-02-13 14:23:39 +01:00
2018-06-01 14:15:10 +02:00
2018-01-22 09:46:18 +01:00
2018-01-22 09:46:18 +01:00
2018-01-22 09:46:18 +01:00
2019-02-27 21:06:08 -06:00
2018-04-26 11:04:39 +01:00
2018-09-25 11:12:25 +10:00
2017-09-07 13:54:54 +01:00
2018-09-25 14:14:07 +01:00
2018-05-04 18:05:51 +01:00
2018-09-25 15:13:24 +01:00
2018-09-25 15:13:24 +01:00
2019-03-07 22:16:11 +01:00
2019-03-05 15:55:09 +00:00
2018-08-16 14:05:28 +01:00
2018-11-02 14:03:33 +00:00
2016-12-20 21:52:12 +01:00
2018-11-13 10:47:58 +00:00
2019-02-27 21:06:08 -06:00
2018-06-26 17:50:42 +01:00
2018-09-25 11:12:25 +10:00
2019-03-11 22:53:44 +01:00
2019-03-05 15:55:09 +00:00
2019-03-11 22:53:44 +01:00
2018-11-02 14:03:33 +00:00
2019-01-07 15:23:46 +00:00
2018-11-02 14:10:53 +00:00
2018-06-22 13:28:38 +01:00
2019-01-29 11:46:05 +00:00
2019-03-07 22:16:11 +01:00