X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fx86%2Flib%2Ftables.c;h=f92111e4c8a075caaf4368c52c8623e6c3369d68;hb=f4abfed1de34e3fa18be4a8a156416cd6ed21f4a;hp=a156f2ce31503cb785c7ef6cf07c568198507a4b;hpb=312a6c016a2d81aa3fbc605f5c0c315b6a4e3464;p=u-boot diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c index a156f2ce31..f92111e4c8 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;