mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Implement architecture speficic GPIO calls for adm5120, thanks to Gabor Juhos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7286 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user