x86: ivybridge: Do the SATA init before relocation
[oweals/u-boot.git] / arch / x86 / cpu / start16.S
index 826e2b43615dbfd6775cd22ec08d58266a26913b..5eb17f15c906f8a085f43161163a0668508c6745 100644 (file)
@@ -71,11 +71,12 @@ idt_ptr:
         */
 gdt_ptr:
        .word   0x1f            /* limit (31 bytes = 4 GDT entries - 1) */
-       .long   BOOT_SEG + gdt  /* base */
+       .long   BOOT_SEG + gdt_rom      /* base */
 
        /* Some CPUs are picky about GDT alignment... */
        .align  16
-gdt:
+.globl gdt_rom
+gdt_rom:
        /*
         * The GDT table ...
         *