summaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_switch.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-10-04 10:56:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-10-04 10:56:38 +0000
commitf1e27efeddf41f343f28e27e3d99ba04f9b34c9b (patch)
tree523f83e2c10104386f2bc1cc1365a503b1c374da /target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_switch.h
parent3120f8a5c0c7be00ee96ba9117b58f9def394d75 (diff)
downloadmaster-31e0f0ae-f1e27efeddf41f343f28e27e3d99ba04f9b34c9b.tar.gz
master-31e0f0ae-f1e27efeddf41f343f28e27e3d99ba04f9b34c9b.tar.bz2
master-31e0f0ae-f1e27efeddf41f343f28e27e3d99ba04f9b34c9b.zip
NAND driver cleanups, thanks to Alexandros C. Couloumbis for testing * use generic NAND driver from now * add experimental support for RouterBOARD 150 NAND device
SVN-Revision: 9118
Diffstat (limited to 'target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_switch.h')
-rw-r--r--target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_switch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_switch.h b/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_switch.h
index f3c05f6ef3..c3af94ba74 100644
--- a/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_switch.h
+++ b/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_switch.h
@@ -171,6 +171,8 @@
#define P5TBC_SHIFT 8
#define P5RBC_SHIFT 12
+#define BW_CNTL1_NAND_ENABLE 0x100
+
/* PHY_CNTL0 register bits */
#define PHY_CNTL0_PHYA_MASK BITMASK(5)
#define PHY_CNTL0_PHYR_MASK BITMASK(5)