qemu-e2k/hw/xtensa
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
..
bootparam.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
Kconfig xtensa-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
Makefile.objs xtensa: rename CONFIG_XTENSA_FPGA to CONFIG_XTENSA_XTFPGA 2019-03-07 21:45:53 +01:00
mx_pic.c target/xtensa: add MX interrupt controller 2019-01-28 11:55:20 -08:00
pic_cpu.c target/xtensa: expose core runstall as an IRQ line 2019-01-28 11:55:20 -08:00
sim.c elf: Add optional function ptr to load_elf() to parse ELF notes 2019-02-05 16:50:16 +01:00
xtensa_memory.c hw/xtensa: extract xtensa_create_memory_regions 2018-01-11 09:31:26 -08:00
xtensa_memory.h Clean up includes 2018-02-09 05:05:11 +01:00
xtfpga.c hw: Use PFLASH_CFI0{1,2} and TYPE_PFLASH_CFI0{1,2} 2019-03-11 22:53:44 +01:00