mx27ads: move PBC mapping out of vmalloc space
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 21 Apr 2009 20:56:14 +0000 (22:56 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 5 May 2009 07:37:08 +0000 (09:37 +0200)
Before this patch I got the following line in my dmesg:

[    0.000000] BUG: mapping for 0xd4000000 at 0xeb000000 overlaps vmalloc space

VMALLOC_END is 0xf4000000 and there are the following other mappings
defined for mx27ads:

(0xa0500000,+0x00001000) maps to 0xffff0000
(0x10000000,+0x00100000) maps to 0xf4000000
(0x80000000,+0x00100000) maps to 0xf4100000
(0xd8000000,+0x00100000) maps to 0xf4200000

So map PBC to 0xf4300000.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/include/mach/board-mx27ads.h

index 1cac9d1..d42f4e6 100644 (file)
@@ -47,7 +47,7 @@
 /*
  * Base address of PBC controller, CS4
  */
-#define PBC_BASE_ADDRESS        0xEB000000
+#define PBC_BASE_ADDRESS        0xf4300000
 #define PBC_REG_ADDR(offset)    (void __force __iomem *) \
                (PBC_BASE_ADDRESS + (offset))