]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/lib/tables.c
Merge branch 'master' of git://git.denx.de/u-boot-ubi
[u-boot] / arch / x86 / lib / tables.c
index a156f2ce31503cb785c7ef6cf07c568198507a4b..f92111e4c8a075caaf4368c52c8623e6c3369d68 100644 (file)
@@ -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;