提交 657bb918 编写于 作者: V Valentin Yakovenkov 提交者: Mike Frysinger

Blackfin: bf561-acvilon: fix NAND resources

The NAND platform driver expects the registers to have a "mem"
resource type rather than "io".
Signed-off-by: NValentin Yakovenkov <yakovenkov@gmail.com>
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 bf80caf4
......@@ -302,7 +302,7 @@ static struct platform_nand_data bfin_plat_nand_data = {
static struct resource bfin_plat_nand_resources = {
.start = 0x24000000,
.end = 0x24000000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)),
.flags = IORESOURCE_IO,
.flags = IORESOURCE_MEM,
};
static struct platform_device bfin_async_nand_device = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册