msm: iomap: add SIC_NON_SECURE to APQ8064
Map the SIC_NON_SECURE region of device i/o to allow access to outgoing
interrupt registers.
Change-Id: I699c6a59c6b6db2573252ca3ee67f9fb87a28421
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
diff --git a/arch/arm/mach-msm/include/mach/msm_iomap-8064.h b/arch/arm/mach-msm/include/mach/msm_iomap-8064.h
index c584c66..7479712 100644
--- a/arch/arm/mach-msm/include/mach/msm_iomap-8064.h
+++ b/arch/arm/mach-msm/include/mach/msm_iomap-8064.h
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2007 Google, Inc.
- * Copyright (c) 2008-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2008-2012, Code Aurora Forum. All rights reserved.
* Author: Brian Swetland <swetland@google.com>
*
* This software is licensed under the terms of the GNU General Public
@@ -100,4 +100,7 @@
#define APQ8064_QFPROM_PHYS 0x00700000
#define APQ8064_QFPROM_SIZE SZ_4K
+#define APQ8064_SIC_NON_SECURE_PHYS 0x12100000
+#define APQ8064_SIC_NON_SECURE_SIZE SZ_64K
+
#endif
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c
index db64acf..830db1f 100644
--- a/arch/arm/mach-msm/io.c
+++ b/arch/arm/mach-msm/io.c
@@ -279,6 +279,7 @@
.type = MT_DEVICE,
},
MSM_CHIP_DEVICE(QFPROM, APQ8064),
+ MSM_CHIP_DEVICE(SIC_NON_SECURE, APQ8064),
};
void __init msm_map_apq8064_io(void)