X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cc966472c3505c0ab9367d32ae5038d188b9c6fa..622eabc631f8dac5bc622d8fb28b1931a9684d7f:/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_mpmc.h diff --git a/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_mpmc.h b/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_mpmc.h index 406d6c563..5383659db 100644 --- a/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_mpmc.h +++ b/target/linux/adm5120/files/include/asm-mips/mach-adm5120/adm5120_mpmc.h @@ -1,30 +1,16 @@ /* - * $Id$ - * * ADM5120 MPMC (Multiport Memory Controller) register definitions * - * Copyright (C) 2007 OpenWrt.org - * Copyright (C) 2007 Gabor Juhos - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * Copyright (C) 2007-2008 Gabor Juhos * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the - * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. * */ -#ifndef _ADM5120_MPMC_H_ -#define _ADM5120_MPMC_H_ +#ifndef _MACH_ADM5120_MPMC_H +#define _MACH_ADM5120_MPMC_H #define MPMC_READ_REG(r) __raw_readl( \ (void __iomem *)KSEG1ADDR(ADM5120_MPMC_BASE) + MPMC_REG_ ## r) @@ -49,6 +35,12 @@ #define MPMC_REG_SC0 0x0200 /* for F_CS1_N */ #define MPMC_REG_SC1 0x0220 /* for F_CS0_N */ #define MPMC_REG_SC2 0x0240 +#define MPMC_REG_WEN2 0x0244 +#define MPMC_REG_OEN2 0x0248 +#define MPMC_REG_RD2 0x024C +#define MPMC_REG_PG2 0x0250 +#define MPMC_REG_WR2 0x0254 +#define MPMC_REG_TN2 0x0258 #define MPMC_REG_SC3 0x0260 /* Control register bits */ @@ -97,4 +89,4 @@ #define SC_MW_16 0x01 /* 16 bit memory width */ #define SC_MW_32 0x02 /* 32 bit memory width */ -#endif /* _ADM5120_MPMC_H_ */ +#endif /* _MACH_ADM5120_MPMC_H */