From ad556794d2652e000d45feeb1c9deaa4b726151d Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 13 Feb 2025 08:33:29 -0500 Subject: [PATCH] internals: VIRT_PTR correction for PP SoCs Accidentally put one too many zeroes in the address, placing it into (real) IRAM instead of just past the edge of DRAM. This didn't affect the s3c2440 and imx31, as they didn't have anything in that typo'd location. Change-Id: I2a2e3e3e0d1222ccd04901f8a85790cf21f0aac9 --- apps/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/settings.h b/apps/settings.h index 50cb730579..2e837f1851 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -237,7 +237,7 @@ enum { ALARM_START_WPS = 0, #define VIRT_PTR ((unsigned char*)0x1000) #elif CONFIG_CPU == S3C2440 || defined(CPU_PP) || CONFIG_CPU==IMX31L /* up to 64MB of DRAM at 0x0 */ -#define VIRT_PTR ((unsigned char*)0x40000000) +#define VIRT_PTR ((unsigned char*)0x4000000) #else /* offset from 0x0 slightly */ #define VIRT_PTR ((unsigned char*)sizeof(char*))