1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

The RB513 CF driver is now a module, enable it by default for the RB1xx profile.

Fix the membase of the CF driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9416 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2007-10-23 10:46:19 +00:00
parent cec0e612ad
commit 3fb6c53e6d
7 changed files with 37 additions and 6 deletions

View File

@@ -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
}
};

View File

@@ -1,2 +1,3 @@
## Makefile for the RB1xx CF port
obj-y += bdev.o ata.o
obj-$(CONFIG_BLK_DEV_CF_MIPS) += rb153-cf.o
rb153-cf-objs := bdev.o ata.o

View File

@@ -30,6 +30,7 @@
#define ADM5120_SDRAM1_BASE 0x01000000
#define ADM5120_SRAM1_BASE 0x10000000
#define ADM5120_NAND_BASE ADM5120_SRAM1_BASE
#define ADM5120_EXTIO0_BASE 0x10C00000
#define ADM5120_MPMC_BASE 0x11000000
#define ADM5120_USBC_BASE 0x11200000
#define ADM5120_PCIMEM_BASE 0x11400000