diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-10-23 10:46:19 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-10-23 10:46:19 +0000 |
commit | 2514d7f79927c8e3935c594c9ec4fa007333ade8 (patch) | |
tree | 004a11649aa8c4173752faa9820bbc525081d40c /target/linux/adm5120/files/arch | |
parent | 486492b407f7e979b3cac1a23d3ace14f80112f0 (diff) | |
download | mtk-20170518-2514d7f79927c8e3935c594c9ec4fa007333ade8.zip mtk-20170518-2514d7f79927c8e3935c594c9ec4fa007333ade8.tar.gz mtk-20170518-2514d7f79927c8e3935c594c9ec4fa007333ade8.tar.bz2 |
The RB513 CF driver is now a module, enable it by default for the RB1xx profile. Fix the membase of the CF driver.
SVN-Revision: 9416
Diffstat (limited to 'target/linux/adm5120/files/arch')
-rw-r--r-- | target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c b/target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c index 74dd860..1ed420e 100644 --- a/target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c +++ b/target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c @@ -182,11 +182,13 @@ static void rb150_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, static struct resource cf_slot0_res[] = { { .name = "cf_membase", + .start = ADM5120_EXTIO0_BASE, + .end = ADM5120_EXTIO0_BASE + ADM5120_MPMC_SIZE-1 , .flags = IORESOURCE_MEM }, { .name = "cf_irq", - .start = INTC_IRQ_GPIO4, /* 5 */ - .end = INTC_IRQ_GPIO4, + .start = ADM5120_IRQ_GPIO4, /* 5 */ + .end = ADM5120_IRQ_GPIO4, .flags = IORESOURCE_IRQ } }; |