firmware: move iriver flash helper functions into target tree

Move the iriver-specific functions for detecting flashed
Rockbox/OF images into system-iriver.c and remove the
HAVE_FLASHED_ROCKBOX define which is now redundant (all
targets using system-iriver.c enable it).

Copyright attribution on the new system-iriver.h header
is a best guess from Git history.

Change-Id: If1933f881a63fd517162ab9ca8f4a3007b997739
This commit is contained in:
Aidan MacDonald 2026-09-08 11:22:42 +01:00 • committed by Solomon Peachy
parent 190822f261
commit c6abf3382a
12 changed files with 74 additions and 62 deletions

View file

@ -67,6 +67,10 @@
#include "usbstack/usb_audio.h"
#endif
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
#include "system-iriver.h"
#endif
#define WRAPPER(_x_) _x_ ## _wrapper
#if (CONFIG_PLATFORM & PLATFORM_HOSTED)