Replace hardcoded values with their correct definitions
[openwrt.git] / target / linux / adm5120-2.6 / files / arch / mips / adm5120 / platform.c
index 4459882..d0fa1f0 100644 (file)
@@ -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,
        },
 };
This page took 0.022948 seconds and 4 git commands to generate.