]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/x86/lib/tables.c
x86: Add support for the Simple Firmware Interface (SFI)
[karo-tx-uboot.git] / arch / x86 / lib / tables.c
index 0836e1e42686863d7cf2b5ef61351d9d9c0dd2cf..8031201a49c2ce2db0b7a8a65cd1a7365d4f21f2 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <asm/sfi.h>
 #include <asm/tables.h>
 
 u8 table_compute_checksum(void *v, int len)
@@ -27,4 +28,8 @@ void write_tables(void)
        rom_table_end = write_pirq_routing_table(rom_table_end);
        rom_table_end = ALIGN(rom_table_end, 1024);
 #endif
+#ifdef CONFIG_GENERATE_SFI_TABLE
+       rom_table_end = write_sfi_table(rom_table_end);
+       rom_table_end = ALIGN(rom_table_end, 1024);
+#endif
 }