diff options
author | Tom Rini <trini@konsulko.com> | 2016-05-23 18:32:47 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-23 18:32:47 -0400 |
commit | 6d54868eeb2697c9a905c4d3521efbacc44c5258 (patch) | |
tree | 6ad3ae03a0083d1a50a6152bd6dcad5630ce7823 /arch/x86/lib/tables.c | |
parent | d7d000311285e4b8d11e089ca13ea456a01be3b8 (diff) | |
parent | 8216b11cdd50515fbc423a4b2709a00865b8621d (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/x86/lib/tables.c')
-rw-r--r-- | arch/x86/lib/tables.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c index a156f2ce315..f92111e4c8a 100644 --- a/arch/x86/lib/tables.c +++ b/arch/x86/lib/tables.c @@ -80,9 +80,8 @@ void write_tables(void) #ifdef CONFIG_SEABIOS table_size = rom_table_end - rom_table_start; - high_table = (u32)memalign(ROM_TABLE_ALIGN, table_size); + high_table = (u32)high_table_malloc(table_size); if (high_table) { - memset((void *)high_table, 0, table_size); table_write_funcs[i](high_table); cfg_tables[i].start = high_table; |