summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-11-27 17:31:22 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-11-27 17:31:22 +0000
commit74932eb40a19478fdeab8500afd487f3300bc919 (patch)
tree27207a16b58f5a4af53b847745ff5feaff4c6324 /target/linux/ar71xx/files/arch
parent44108d6a2d4ba8384680dbfc80c972a1a806f38a (diff)
downloadmtk-20170518-74932eb40a19478fdeab8500afd487f3300bc919.zip
mtk-20170518-74932eb40a19478fdeab8500afd487f3300bc919.tar.gz
mtk-20170518-74932eb40a19478fdeab8500afd487f3300bc919.tar.bz2
ag71xx driver: introduce new flag for the AR913x SOCs
SVN-Revision: 13376
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/platform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c b/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
index b2add19..09e6b2b 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
@@ -393,6 +393,7 @@ void __init ar71xx_add_device_eth(unsigned int id)
: ar91xx_ddr_flush_ge0;
pdata->set_pll = id ? ar91xx_set_pll_ge1
: ar91xx_set_pll_ge0;
+ pdata->is_ar91xx = 1;
break;
case AR71XX_SOC_AR9132:
@@ -400,6 +401,7 @@ void __init ar71xx_add_device_eth(unsigned int id)
: ar91xx_ddr_flush_ge0;
pdata->set_pll = id ? ar91xx_set_pll_ge1
: ar91xx_set_pll_ge0;
+ pdata->is_ar91xx = 1;
pdata->has_gbit = 1;
break;