diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/cbfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c index abb95abc3f..c56f550e17 100644 --- a/src/lib/cbfs.c +++ b/src/lib/cbfs.c @@ -129,6 +129,7 @@ void * cbfs_load_stage(struct cbfs_media *media, const char *name) name, (uint32_t) stage->load, stage->memlen, stage->entry); + /* Stages rely the below clearing so that the bss is initialized. */ memset((void *) (uint32_t) stage->load, 0, stage->memlen); if (cbfs_decompress(stage->compression, |