mm: fix 2 MB memory lost problem for arm32
authorJianxin Pan <jianxin.pan@amlogic.com>
Tue, 18 Sep 2018 06:49:06 +0000 (14:49 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 9 Oct 2018 02:27:00 +0000 (19:27 -0700)
PD#173956

Change-Id: Ie5fe1865a43d343c8a6ba9defe5508b62679fe92
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
arch/arm/Kconfig
arch/arm/Makefile

index 1221a39..0bd89d9 100644 (file)
@@ -281,7 +281,7 @@ config PHYS_OFFSET
        default 0x10000000 if ARCH_OMAP1 || ARCH_RPC
        default 0x20000000 if ARCH_S5PV210
        default 0xc0000000 if ARCH_SA1100
-       default 0x00200000 if ARCH_MESON
+       default 0x00000000 if ARCH_MESON
        help
          Please provide the physical address corresponding to the
          location of main memory in your system.
index 6301345..cf89fef 100644 (file)
@@ -148,7 +148,7 @@ endif
 textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
 textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
 textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
-textofs-$(CONFIG_ARCH_MESON) := 0x00008000
+textofs-$(CONFIG_ARCH_MESON) := 0x00208000
 
 # Machine directory name.  This list is sorted alphanumerically
 # by CONFIG_* macro name.