diff options
author | Tom Rini <trini@konsulko.com> | 2015-09-29 13:14:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-29 13:14:21 -0400 |
commit | 4af90a6d033bdde93d2fe03ed884a20e9359c4e5 (patch) | |
tree | 8faecca1a6ac8464701fa4eaefd41d002399afa8 /arch | |
parent | 46f166caad48ed38f6ccc0c2fc6d1828d15dacb2 (diff) | |
parent | 196193a4d4963a8dde00c7cdd0ec83b60ea61e61 (diff) |
Merge git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/lib/fsp/fsp_dram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/lib/fsp/fsp_dram.c b/arch/x86/lib/fsp/fsp_dram.c index 28552fa15a..e51ca96eb7 100644 --- a/arch/x86/lib/fsp/fsp_dram.c +++ b/arch/x86/lib/fsp/fsp_dram.c @@ -72,9 +72,10 @@ unsigned install_e820_map(unsigned max_entries, struct e820entry *entries) entries[num_entries].type = E820_RAM; else if (res_desc->type == RES_MEM_RESERVED) entries[num_entries].type = E820_RESERVED; + + num_entries++; } hdr = get_next_hob(hdr); - num_entries++; } /* Mark PCIe ECAM address range as reserved */ |