1bd607166SKent Russell /* 2bd607166SKent Russell * Copyright 2020 Advanced Micro Devices, Inc. 3bd607166SKent Russell * 4bd607166SKent Russell * Permission is hereby granted, free of charge, to any person obtaining a 5bd607166SKent Russell * copy of this software and associated documentation files (the "Software"), 6bd607166SKent Russell * to deal in the Software without restriction, including without limitation 7bd607166SKent Russell * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8bd607166SKent Russell * and/or sell copies of the Software, and to permit persons to whom the 9bd607166SKent Russell * Software is furnished to do so, subject to the following conditions: 10bd607166SKent Russell * 11bd607166SKent Russell * The above copyright notice and this permission notice shall be included in 12bd607166SKent Russell * all copies or substantial portions of the Software. 13bd607166SKent Russell * 14bd607166SKent Russell * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15bd607166SKent Russell * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16bd607166SKent Russell * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17bd607166SKent Russell * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18bd607166SKent Russell * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19bd607166SKent Russell * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20bd607166SKent Russell * OTHER DEALINGS IN THE SOFTWARE. 21bd607166SKent Russell * 22bd607166SKent Russell */ 23bd607166SKent Russell 24d43f7ff6SAlex Deucher #ifndef __AMDGPU_FRU_EEPROM_H__ 25d43f7ff6SAlex Deucher #define __AMDGPU_FRU_EEPROM_H__ 26bd607166SKent Russell 27bd607166SKent Russell int amdgpu_fru_get_product_info(struct amdgpu_device *adev); 28*7957ec80SLijo Lazar int amdgpu_fru_sysfs_init(struct amdgpu_device *adev); 29*7957ec80SLijo Lazar void amdgpu_fru_sysfs_fini(struct amdgpu_device *adev); 30bd607166SKent Russell 31125b1debSGuchun Chen #endif // __AMDGPU_FRU_EEPROM_H__ 32