From a980d5f86951dca03baa447fd5a58005ba47a098 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Fri, 30 Dec 2022 23:18:02 +0000 Subject: x1000: Enable support for INIT_ATTR Enable INIT_ATTR support in config.h. Load init code to the codec buffer, following the convention used by other targets that support INIT_ATTR. Change-Id: I8935fbaa100f0013bb328d71c4a49ec2ffafd003 --- firmware/export/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/config.h') diff --git a/firmware/export/config.h b/firmware/export/config.h index e83194e0f4..d2ebbbf071 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -1070,7 +1070,7 @@ Lyre prototype 1 */ #if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) || \ (CONFIG_CPU == IMX31L) || (CONFIG_CPU == IMX233) || \ - (CONFIG_CPU == RK27XX) || defined(CPU_COLDFIRE)) \ + (CONFIG_CPU == RK27XX) || (CONFIG_CPU == X1000) || defined(CPU_COLDFIRE)) \ && (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(BOOTLOADER) /* Functions that have INIT_ATTR attached are NOT guaranteed to survive after * root_menu() has been called. Their code may be overwritten by other data or -- cgit v1.2.3