X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e37963667dfc52051e9e59896a45950f3cd22be4..e85e700168edd32a6fc499ea9b23584f2678a46c:/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h diff --git a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h index dbb02cf8e..c78c46b3b 100644 --- a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h +++ b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/adm5120_info.h @@ -52,6 +52,16 @@ extern unsigned int adm5120_package; extern void adm5120_info_init(void); +static inline int adm5120_package_pqfp(void) +{ + return (adm5120_package == ADM5120_PACKAGE_PQFP); +} + +static inline int adm5120_package_bga(void) +{ + return (adm5120_package == ADM5120_PACKAGE_BGA); +} + static inline int adm5120_has_pci(void) { return (adm5120_package == ADM5120_PACKAGE_BGA);