18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _ASM_X86_MMCONFIG_H 38c2ecf20Sopenharmony_ci#define _ASM_X86_MMCONFIG_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#ifdef CONFIG_PCI_MMCONFIG 68c2ecf20Sopenharmony_ciextern void fam10h_check_enable_mmcfg(void); 78c2ecf20Sopenharmony_ciextern void check_enable_amd_mmconf_dmi(void); 88c2ecf20Sopenharmony_ci#else 98c2ecf20Sopenharmony_cistatic inline void fam10h_check_enable_mmcfg(void) { } 108c2ecf20Sopenharmony_cistatic inline void check_enable_amd_mmconf_dmi(void) { } 118c2ecf20Sopenharmony_ci#endif 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#endif /* _ASM_X86_MMCONFIG_H */ 14