aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120-2.6/files/arch/mips
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-18 17:27:40 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-18 17:27:40 +0000
commit01696b71cc6da50897d4ed7ff5b6f782b5e76571 (patch)
treea436f537b02dec28653f57bb29e5966eb0d6178a /target/linux/adm5120-2.6/files/arch/mips
parentb3fae870093c1ca8d1c810251645f04e6b5a0db7 (diff)
downloadupstream-01696b71cc6da50897d4ed7ff5b6f782b5e76571.tar.gz
upstream-01696b71cc6da50897d4ed7ff5b6f782b5e76571.tar.bz2
upstream-01696b71cc6da50897d4ed7ff5b6f782b5e76571.zip
Replace hardcoded values with their correct definitions
SVN-Revision: 8046
Diffstat (limited to 'target/linux/adm5120-2.6/files/arch/mips')
-rw-r--r--target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c
index 44598825d9..d0fa1f0bc8 100644
--- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c
+++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c
@@ -114,7 +114,7 @@ struct platform_device adm5120_flash1_device = {
struct resource adm5120_nand_resource[] = {
[0] = {
.start = ADM5120_SRAM1_BASE,
- .end = ADM5120_SRAM1_BASE+0x1000-1,
+ .end = ADM5120_SRAM1_BASE+ADM5120_MPMC_SIZE-1,
.flags = IORESOURCE_MEM,
},
};