firmware: limit system_memory_guard() to coldfire targets

Only Coldfire targets have ever implemented this. Gate it
behind CPU_COLDFIRE so the stub functions won't be needed
in other targets.

Change-Id: I507952c40a04d813a40296142a6eba1df24b0a68
This commit is contained in:
Aidan MacDonald 2026-09-08 10:59:00 +01:00 • committed by Solomon Peachy
parent d27af08ff6
commit 190822f261
18 changed files with 27 additions and 122 deletions

View file

@ -2663,7 +2663,7 @@ char* strtok_r(char *ptr, const char *sep, char **end)
int system_memory_guard(int newmode)
\group kernel/ system
\conditions ((CONFIG_PLATFORM & PLATFORM_NATIVE))
\conditions ((CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(CPU_COLDFIRE))
\param newmode
\return
\description