summaryrefslogtreecommitdiff
path: root/zephyr/linker/iterables-rom.ld
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/linker/iterables-rom.ld')
-rw-r--r--zephyr/linker/iterables-rom.ld3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/linker/iterables-rom.ld b/zephyr/linker/iterables-rom.ld
new file mode 100644
index 0000000000..dea5731465
--- /dev/null
+++ b/zephyr/linker/iterables-rom.ld
@@ -0,0 +1,3 @@
+#ifdef CONFIG_PLATFORM_EC_HOSTCMD
+ITERABLE_SECTION_ROM(host_command, 4)
+#endif