mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
dc0cef8304
commit
ad556794d2
1 changed files with 1 additions and 1 deletions
|
@ -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*))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue