]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/x86/lib/fsp/fsp_support.c
x86: fsp: Load GDT before calling FspInitEntry
[karo-tx-uboot.git] / arch / x86 / lib / fsp / fsp_support.c
index 5809235b10a28b6d7fdcf766b19f5e0c3f0026ee..45851660837aac998ad4e58c003d3ac3b5e6ef83 100644 (file)
@@ -173,6 +173,9 @@ void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf)
 
        post_code(POST_PRE_MRC);
 
+       /* Load GDT for FSP */
+       setup_fsp_gdt();
+
        /*
         * Use ASM code to ensure the register value in EAX & ECX
         * will be passed into BlContinuationFunc