projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the rbmipsnand fix from #1778
[openwrt.git]
/
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
dbb02cf
..
c78c46b
100644
(file)
--- 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);
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);
static inline int adm5120_has_pci(void)
{
return (adm5120_package == ADM5120_PACKAGE_BGA);
This page took
0.026995 seconds
and
4
git commands to generate.