diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/prog_loaders.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/prog_loaders.c b/src/lib/prog_loaders.c index ec5eeb8693..7c00abad71 100644 --- a/src/lib/prog_loaders.c +++ b/src/lib/prog_loaders.c @@ -121,6 +121,8 @@ fail: die("Ramstage was not loaded!\n"); } +#ifdef __RAMSTAGE__ // gc-sections should take care of this + static struct prog global_payload = PROG_INIT(ASSET_PAYLOAD, CONFIG_CBFS_PREFIX "/payload"); @@ -170,3 +172,5 @@ void payload_run(void) prog_run(payload); } + +#endif |