From 388d9e834c816c9ae981c029acd867c2b1e868c6 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 18 Jul 2007 17:27:40 +0000 Subject: Replace hardcoded values with their correct definitions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8046 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/adm5120-2.6/files/arch') 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 44598825d..d0fa1f0bc 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, }, }; -- cgit v1.2.3