xref: /openbmc/qemu/hw/nvram/meson.build (revision f6476697)
1# QOM interfaces must be available anytime QOM is used.
2qom_ss.add(files('fw_cfg-interface.c'))
3
4softmmu_ss.add(files('fw_cfg.c'))
5softmmu_ss.add(when: 'CONFIG_CHRP_NVRAM', if_true: files('chrp_nvram.c'))
6softmmu_ss.add(when: 'CONFIG_DS1225Y', if_true: files('ds1225y.c'))
7softmmu_ss.add(when: 'CONFIG_NMC93XX_EEPROM', if_true: files('eeprom93xx.c'))
8softmmu_ss.add(when: 'CONFIG_AT24C', if_true: files('eeprom_at24c.c'))
9softmmu_ss.add(when: 'CONFIG_MAC_NVRAM', if_true: files('mac_nvram.c'))
10softmmu_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx_otp.c'))
11softmmu_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_nvm.c'))
12
13specific_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr_nvram.c'))
14