]> xenbits.xensource.com Git - people/aperard/xen-arm.git/commitdiff
chromebook: map iRam.
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 21 Jun 2013 11:46:39 +0000 (12:46 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Fri, 5 Jul 2013 11:42:00 +0000 (12:42 +0100)
xen/arch/arm/platforms/exynos5.c
xen/include/asm-arm/platforms/exynos5.h

index 1368a04c14827ce5f887d8e1e2007151ccb152c5..17795f4fac9165dce445f72b6a74b5d42d2b0d18 100644 (file)
@@ -61,6 +61,9 @@ static int exynos5_specific_mapping(struct domain *d)
                      EXYNOS5_PA_TIMER + (PAGE_SIZE * 2) - 1,
                      EXYNOS5_PA_TIMER);
 
+    /* chromebook, iRam */
+    map_mmio_regions(d, S5P_PA_SYSRAM, S5P_PA_SYSRAM_END, S5P_PA_SYSRAM);
+
     return 0;
 }
 
index ee5bdfa05f5934deccf134562fb295ebd5a5d4fa..66588f2adf5c45b294c9ae2b2e986415550f9d71 100644 (file)
@@ -13,6 +13,7 @@
 #define EXYNOS5_SWRESET             0x0400      /* Relative to PA_PMU */
 
 #define S5P_PA_SYSRAM   0x02020000
+#define S5P_PA_SYSRAM_END 0x02077fff
 
 /* Constants below is only used in assembly because the DTS is not yet parsed */
 #ifdef __ASSEMBLY__