i.MX51: remove NFC AXI static mapping

This area contains the Nand Flash controller registers. There
is no need to map them statically as the Nand driver uses ioremap().

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2010-03-19 11:12:02 +01:00
parent 5443856cad
commit fc300206ad
2 changed files with 2 additions and 12 deletions

View File

@ -49,11 +49,6 @@ static struct map_desc mxc_io_desc[] __initdata = {
.pfn = __phys_to_pfn(MX51_AIPS2_BASE_ADDR), .pfn = __phys_to_pfn(MX51_AIPS2_BASE_ADDR),
.length = MX51_AIPS2_SIZE, .length = MX51_AIPS2_SIZE,
.type = MT_DEVICE .type = MT_DEVICE
}, {
.virtual = MX51_NFC_AXI_BASE_ADDR_VIRT,
.pfn = __phys_to_pfn(MX51_NFC_AXI_BASE_ADDR),
.length = MX51_NFC_AXI_SIZE,
.type = MT_DEVICE
}, },
}; };

View File

@ -23,7 +23,7 @@
* C8000000 64M CS3 Flash * C8000000 64M CS3 Flash
* CC000000 32M CS4 SRAM * CC000000 32M CS4 SRAM
* CE000000 32M CS5 SRAM * CE000000 32M CS5 SRAM
* F9000000 CFFF0000 64K NFC (NAND Flash AXI) * CFFF0000 64K NFC (NAND Flash AXI)
* *
*/ */
@ -46,7 +46,6 @@
* NFC * NFC
*/ */
#define MX51_NFC_AXI_BASE_ADDR 0xCFFF0000 /* NAND flash AXI */ #define MX51_NFC_AXI_BASE_ADDR 0xCFFF0000 /* NAND flash AXI */
#define MX51_NFC_AXI_BASE_ADDR_VIRT 0xF9000000
#define MX51_NFC_AXI_SIZE SZ_64K #define MX51_NFC_AXI_SIZE SZ_64K
/* /*
@ -240,8 +239,7 @@
MX51_IS_MODULE(x, DEBUG) ? MX51_DEBUG_IO_ADDRESS(x) : \ MX51_IS_MODULE(x, DEBUG) ? MX51_DEBUG_IO_ADDRESS(x) : \
MX51_IS_MODULE(x, SPBA0) ? MX51_SPBA0_IO_ADDRESS(x) : \ MX51_IS_MODULE(x, SPBA0) ? MX51_SPBA0_IO_ADDRESS(x) : \
MX51_IS_MODULE(x, AIPS1) ? MX51_AIPS1_IO_ADDRESS(x) : \ MX51_IS_MODULE(x, AIPS1) ? MX51_AIPS1_IO_ADDRESS(x) : \
MX51_IS_MODULE(x, AIPS2) ? MX51_AIPS2_IO_ADDRESS(x) : \ MX51_IS_MODULE(x, AIPS2) ? MX51_AIPS2_IO_ADDRESS(x) : \
MX51_IS_MODULE(x, NFC_AXI) ? MX51_NFC_AXI_IO_ADDRESS(x) : \
0xDEADBEEF) 0xDEADBEEF)
/* /*
@ -262,9 +260,6 @@
#define MX51_AIPS2_IO_ADDRESS(x) \ #define MX51_AIPS2_IO_ADDRESS(x) \
(((x) - MX51_AIPS2_BASE_ADDR) + MX51_AIPS2_BASE_ADDR_VIRT) (((x) - MX51_AIPS2_BASE_ADDR) + MX51_AIPS2_BASE_ADDR_VIRT)
#define MX51_NFC_AXI_IO_ADDRESS(x) \
(((x) - MX51_NFC_AXI_BASE_ADDR) + MX51_NFC_AXI_BASE_ADDR_VIRT)
#define MX51_IS_MEM_DEVICE_NONSHARED(x) 0 #define MX51_IS_MEM_DEVICE_NONSHARED(x) 0
/* /*