1b843c749SSergey Zigachev /*
2b843c749SSergey Zigachev  * Copyright 2013-16 Advanced Micro Devices, Inc.
3b843c749SSergey Zigachev  *
4b843c749SSergey Zigachev  * Permission is hereby granted, free of charge, to any person obtaining a
5b843c749SSergey Zigachev  * copy of this software and associated documentation files (the "Software"),
6b843c749SSergey Zigachev  * to deal in the Software without restriction, including without limitation
7b843c749SSergey Zigachev  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8b843c749SSergey Zigachev  * and/or sell copies of the Software, and to permit persons to whom the
9b843c749SSergey Zigachev  * Software is furnished to do so, subject to the following conditions:
10b843c749SSergey Zigachev  *
11b843c749SSergey Zigachev  * The above copyright notice and this permission notice shall be included in
12b843c749SSergey Zigachev  * all copies or substantial portions of the Software.
13b843c749SSergey Zigachev  *
14b843c749SSergey Zigachev  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15b843c749SSergey Zigachev  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16b843c749SSergey Zigachev  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17b843c749SSergey Zigachev  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18b843c749SSergey Zigachev  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19b843c749SSergey Zigachev  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20b843c749SSergey Zigachev  * OTHER DEALINGS IN THE SOFTWARE.
21b843c749SSergey Zigachev  *
22b843c749SSergey Zigachev  * Authors: AMD
23b843c749SSergey Zigachev  *
24b843c749SSergey Zigachev  */
25b843c749SSergey Zigachev 
26b843c749SSergey Zigachev #include "dm_services.h"
27b843c749SSergey Zigachev #include "include/gpio_types.h"
28b843c749SSergey Zigachev 
29b843c749SSergey Zigachev #include "../hw_translate.h"
30b843c749SSergey Zigachev 
31*78973132SSergey Zigachev #include "hw_translate_diag.h"
32*78973132SSergey Zigachev 
33b843c749SSergey Zigachev /* function table */
34b843c749SSergey Zigachev static const struct hw_translate_funcs funcs = {
35b843c749SSergey Zigachev 	.offset_to_id = NULL,
36b843c749SSergey Zigachev 	.id_to_offset = NULL,
37b843c749SSergey Zigachev };
38b843c749SSergey Zigachev 
dal_hw_translate_diag_fpga_init(struct hw_translate * tr)39b843c749SSergey Zigachev void dal_hw_translate_diag_fpga_init(struct hw_translate *tr)
40b843c749SSergey Zigachev {
41b843c749SSergey Zigachev 	tr->funcs = &funcs;
42b843c749SSergey Zigachev }
43