xref: /openbmc/qemu/hw/nvram/meson.build (revision 4d6d8a05)
1system_ss.add(files('fw_cfg-interface.c'))
2system_ss.add(files('fw_cfg.c'))
3system_ss.add(when: 'CONFIG_CHRP_NVRAM', if_true: files('chrp_nvram.c'))
4system_ss.add(when: 'CONFIG_DS1225Y', if_true: files('ds1225y.c'))
5system_ss.add(when: 'CONFIG_NMC93XX_EEPROM', if_true: files('eeprom93xx.c'))
6system_ss.add(when: 'CONFIG_AT24C', if_true: files('eeprom_at24c.c'))
7system_ss.add(when: 'CONFIG_MAC_NVRAM', if_true: files('mac_nvram.c'))
8system_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx_otp.c'))
9system_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_nvm.c'))
10system_ss.add(when: 'CONFIG_XLNX_EFUSE_CRC', if_true: files('xlnx-efuse-crc.c'))
11system_ss.add(when: 'CONFIG_XLNX_EFUSE', if_true: files('xlnx-efuse.c'))
12system_ss.add(when: 'CONFIG_XLNX_EFUSE_VERSAL', if_true: files(
13                                                   'xlnx-versal-efuse-cache.c',
14                                                   'xlnx-versal-efuse-ctrl.c'))
15system_ss.add(when: 'CONFIG_XLNX_EFUSE_ZYNQMP', if_true: files(
16                                                   'xlnx-zynqmp-efuse.c'))
17system_ss.add(when: 'CONFIG_XLNX_BBRAM', if_true: files('xlnx-bbram.c'))
18
19specific_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr_nvram.c'))
20specific_ss.add(when: 'CONFIG_ACPI', if_true: files('fw_cfg-acpi.c'))
21