diff options
Diffstat (limited to 'src/arch/x86/mmap_boot.c')
-rw-r--r-- | src/arch/x86/mmap_boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/mmap_boot.c b/src/arch/x86/mmap_boot.c index b03a17e5da..168b17d71b 100644 --- a/src/arch/x86/mmap_boot.c +++ b/src/arch/x86/mmap_boot.c @@ -54,7 +54,7 @@ static int cbfs_master_header_props(struct cbfs_props *props) return -1; props->offset = header.offset; - if (CONFIG_ROM_SIZE != header.romsize) + if (header.romsize != CONFIG_ROM_SIZE) props->size = CONFIG_ROM_SIZE; else props->size = header.romsize; |