qemu-e2k/hw/mips
Philippe Mathieu-Daudé 9ce8c6ddd3 hw/mips/malta: Use sdram_type enum from 'hw/i2c/smbus_eeprom.h'
Since commit 93198b6cad ("i2c: Split smbus into parts") the SDRAM
types are enumerated as sdram_type in "hw/i2c/smbus_eeprom.h".

Using the enum removes this global shadow warning:

  hw/mips/malta.c:209:12: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
      enum { SDR = 0x4, DDR2 = 0x8 } type;
             ^
  include/hw/i2c/smbus_eeprom.h:33:19: note: previous declaration is here
  enum sdram_type { SDR = 0x4, DDR = 0x7, DDR2 = 0x8 };
                    ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231009092127.49778-1-philmd@linaro.org>
2023-10-19 23:13:27 +02:00
..
bootloader.c hw/mips/bootloader: Implement nanoMIPS JALRc opcode generator 2023-01-13 09:32:32 +01:00
boston.c hw/pci/pci: Remove multifunction parameter from pci_create_simple_multifunction() 2023-07-10 16:29:17 -04:00
cps.c hw/mips/itu: Pass SAAR using QOM link property 2023-03-08 00:37:48 +01:00
fuloong2e.c vt82c686 machines: Support machine-default audiodev with fallback 2023-10-03 10:29:40 +02:00
fw_cfg.c hw/mips: Implement fw_cfg_arch_key_name() 2021-01-04 23:32:27 +01:00
fw_cfg.h hw/mips: Implement fw_cfg_arch_key_name() 2021-01-04 23:32:27 +01:00
jazz.c hw/mips/jazz: Simplify the NIC setup code 2023-09-25 07:58:14 +02:00
Kconfig hw/mips/Kconfig: Track Malta's PIIX dependencies via Kconfig 2023-01-13 16:22:57 +01:00
loongson3_bootp.c hw/mips: Add Loongson-3 boot parameter helpers 2021-01-04 23:33:38 +01:00
loongson3_bootp.h hw/mips: loongson3: Drop 'struct MemmapEntry' 2021-02-21 14:22:09 +01:00
loongson3_virt.c kvm: Introduce kvm_arch_get_default_type hook 2023-08-22 17:31:02 +01:00
malta.c hw/mips/malta: Use sdram_type enum from 'hw/i2c/smbus_eeprom.h' 2023-10-19 23:13:27 +02:00
meson.build hw/mips/gt64xxx_pci: Move it to hw/pci-host/ 2023-01-13 09:32:32 +01:00
mips_int.c hw/mips: Use QEMU_IOTHREAD_LOCK_GUARD in cpu_mips_irq_request 2023-01-04 16:20:01 -08:00
mipssim.c trivial: Simplify the spots that use TARGET_BIG_ENDIAN as a numeric value 2023-09-08 13:08:52 +03:00
trace-events hw/mips/gt64xxx_pci: Move it to hw/pci-host/ 2023-01-13 09:32:32 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00