summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/mm.c
diff options
context:
space:
mode:
authorRanjani Vaidyanathan <ra5478@freescale.com>2011-12-15 11:55:00 -0600
committerJason Liu <r64343@freescale.com>2012-01-09 21:11:12 +0800
commit4567ccf054ab9c091ca8fd3a308cff81e6bbe80b (patch)
treecbccc936852e9c0c04eb43759b864a1b6645ed4a /arch/arm/mach-mx6/mm.c
parente434f9e65550e4d7734dd4ea0d9e1dd0d3adbf87 (diff)
ENGR00170434: MX6 - Add support to read Silicon version
Read the silicon version stored in ROM at address ox48. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/mm.c')
-rw-r--r--arch/arm/mach-mx6/mm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/mm.c b/arch/arm/mach-mx6/mm.c
index bbaa6ae15c4b..fa1c78be532f 100644
--- a/arch/arm/mach-mx6/mm.c
+++ b/arch/arm/mach-mx6/mm.c
@@ -36,6 +36,11 @@
*/
static struct map_desc mx6_io_desc[] __initdata = {
{
+ .virtual = BOOT_ROM_BASE_ADDR_VIRT,
+ .pfn = __phys_to_pfn(BOOT_ROM_BASE_ADDR),
+ .length = ROMCP_SIZE,
+ .type = MT_DEVICE},
+ {
.virtual = AIPS1_BASE_ADDR_VIRT,
.pfn = __phys_to_pfn(AIPS1_ARB_BASE_ADDR),
.length = AIPS1_SIZE,