diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 847ce36061..536f76119f 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -53,7 +53,7 @@ OUTPUT_FORMAT(elf32-sh) #define DRAMORIG 0x31000000 #define IRAMORIG 0x10010000 #define IRAMSIZE 0x10000 -#elif (defined(PP5022) || defined(PP5024)) +#elif CONFIG_CPU == PP5022 || CONFIG_CPU == PP5024 /* PP5022/24 have 128KB of IRAM */ #define DRAMORIG 0x00000000 #define IRAMORIG 0x4000c000