1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * K2HK EVM : Board common header 4 * 5 * (C) Copyright 2014 6 * Texas Instruments Incorporated, <www.ti.com> 7 */ 8 9 #ifndef _KS2_BOARD 10 #define _KS2_BOARD 11 12 #include <asm/ti-common/keystone_net.h> 13 #include "../common/board_detect.h" 14 15 #if defined(CONFIG_TI_I2C_BOARD_DETECT) board_is_k2g_gp(void)16static inline int board_is_k2g_gp(void) 17 { 18 return board_ti_is("66AK2GGP"); 19 } board_is_k2g_g1(void)20static inline int board_is_k2g_g1(void) 21 { 22 return board_ti_is("66AK2GG1"); 23 } board_is_k2g_ice(void)24static inline int board_is_k2g_ice(void) 25 { 26 return board_ti_is("66AK2GIC"); 27 } board_is_k2g_i1(void)28static inline int board_is_k2g_i1(void) 29 { 30 return board_ti_is("66AK2GI1"); 31 } 32 #else board_is_k2g_gp(void)33static inline int board_is_k2g_gp(void) 34 { 35 return false; 36 } board_is_k2g_ice(void)37static inline int board_is_k2g_ice(void) 38 { 39 return false; 40 } board_is_k2g_i1(void)41static inline int board_is_k2g_i1(void) 42 { 43 return false; 44 } 45 #endif 46 47 void spl_init_keystone_plls(void); 48 49 #endif 50