ARM: S5P: Decrease IO Registers memory region size on FIMC
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 9 Sep 2010 12:31:46 +0000 (21:31 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 14 Sep 2010 08:57:55 +0000 (17:57 +0900)
IO registers region size of all FIMC versions is less than 1kB so there
is no need to reserve 1M.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
[kgene.kim@samsung.com: minor title fix]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-s5p/dev-fimc0.c
arch/arm/plat-s5p/dev-fimc1.c
arch/arm/plat-s5p/dev-fimc2.c

index f9203fa8fe23d947017d7cdb6fd605f68c2c318c..608770fc1531335967f4e42a4c9355ed8e5f6c87 100644 (file)
@@ -19,7 +19,7 @@
 static struct resource s5p_fimc0_resource[] = {
        [0] = {
                .start  = S5P_PA_FIMC0,
-               .end    = S5P_PA_FIMC0 + SZ_1M - 1,
+               .end    = S5P_PA_FIMC0 + SZ_4K - 1,
                .flags  = IORESOURCE_MEM,
        },
        [1] = {
index 7ed91a34dd4a84664a63a67c1c629bf47a40b036..76e3a97a87d37c934f95da3ab2187831b9eb6da6 100644 (file)
@@ -19,7 +19,7 @@
 static struct resource s5p_fimc1_resource[] = {
        [0] = {
                .start  = S5P_PA_FIMC1,
-               .end    = S5P_PA_FIMC1 + SZ_1M - 1,
+               .end    = S5P_PA_FIMC1 + SZ_4K - 1,
                .flags  = IORESOURCE_MEM,
        },
        [1] = {
index 5543d637396c473ba83e1a55ff3f5abb231d7d27..24d29816fa2c03711ad0b5a62e2561caabd11e3b 100644 (file)
@@ -19,7 +19,7 @@
 static struct resource s5p_fimc2_resource[] = {
        [0] = {
                .start  = S5P_PA_FIMC2,
-               .end    = S5P_PA_FIMC2 + SZ_1M - 1,
+               .end    = S5P_PA_FIMC2 + SZ_4K - 1,
                .flags  = IORESOURCE_MEM,
        },
        [1] = {