提交 d80e9221 编写于 作者: G Guennadi Liakhovetski 提交者: Chris Ball

sh: fix SDHI IO address-range

SDHI registers occupy only a 0x100 byte large window, not 0x200 byte.
Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: NPaul Mundt <lethal@linux-sh.org>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 31d31fe7
......@@ -423,7 +423,7 @@ static struct resource sdhi0_cn3_resources[] = {
[0] = {
.name = "SDHI0",
.start = 0x04ce0000,
.end = 0x04ce01ff,
.end = 0x04ce00ff,
.flags = IORESOURCE_MEM,
},
[1] = {
......@@ -453,7 +453,7 @@ static struct resource sdhi1_cn7_resources[] = {
[0] = {
.name = "SDHI1",
.start = 0x04cf0000,
.end = 0x04cf01ff,
.end = 0x04cf00ff,
.flags = IORESOURCE_MEM,
},
[1] = {
......
......@@ -482,7 +482,7 @@ static struct resource sdhi0_resources[] = {
[0] = {
.name = "SDHI0",
.start = 0x04ce0000,
.end = 0x04ce01ff,
.end = 0x04ce00ff,
.flags = IORESOURCE_MEM,
},
[1] = {
......@@ -522,7 +522,7 @@ static struct resource sdhi1_resources[] = {
[0] = {
.name = "SDHI1",
.start = 0x04cf0000,
.end = 0x04cf01ff,
.end = 0x04cf00ff,
.flags = IORESOURCE_MEM,
},
[1] = {
......
......@@ -354,7 +354,7 @@ static struct resource kfr2r09_sh_sdhi0_resources[] = {
[0] = {
.name = "SDHI0",
.start = 0x04ce0000,
.end = 0x04ce01ff,
.end = 0x04ce00ff,
.flags = IORESOURCE_MEM,
},
[1] = {
......
......@@ -399,7 +399,7 @@ static struct resource sdhi_cn9_resources[] = {
[0] = {
.name = "SDHI",
.start = 0x04ce0000,
.end = 0x04ce01ff,
.end = 0x04ce00ff,
.flags = IORESOURCE_MEM,
},
[1] = {
......
......@@ -456,7 +456,7 @@ static struct resource sdhi0_cn7_resources[] = {
[0] = {
.name = "SDHI0",
.start = 0x04ce0000,
.end = 0x04ce01ff,
.end = 0x04ce00ff,
.flags = IORESOURCE_MEM,
},
[1] = {
......@@ -488,7 +488,7 @@ static struct resource sdhi1_cn8_resources[] = {
[0] = {
.name = "SDHI1",
.start = 0x04cf0000,
.end = 0x04cf01ff,
.end = 0x04cf00ff,
.flags = IORESOURCE_MEM,
},
[1] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册