diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-07-18 17:27:40 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-07-18 17:27:40 +0000 |
commit | 2489fedc0782ba03e9c6b78e5ef17f7b11bfecbb (patch) | |
tree | 9016d0e10f72d423be2a124cfd13e1e3e4e40ab7 /target/linux/adm5120-2.6/files/arch/mips | |
parent | 85f88ca4beafa8d00a073ab5430f53c891eac0ed (diff) | |
download | master-187ad058-2489fedc0782ba03e9c6b78e5ef17f7b11bfecbb.tar.gz master-187ad058-2489fedc0782ba03e9c6b78e5ef17f7b11bfecbb.tar.bz2 master-187ad058-2489fedc0782ba03e9c6b78e5ef17f7b11bfecbb.zip |
Replace hardcoded values with their correct definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8046 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/arch/mips')
-rw-r--r-- | target/linux/adm5120-2.6/files/arch/mips/adm5120/platform.c | 2 |
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, }, }; |