]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/intel_common/car.S
x86: Add common SDRAM-init code
[u-boot] / arch / x86 / cpu / intel_common / car.S
index 1defabf91f07fbe2c549102261b655a3e1a1c83a..6e0db96c0162bcd8440efa10ed3bc5657b45e981 100644 (file)
  */
 
 #include <common.h>
+#include <asm/microcode.h>
 #include <asm/msr-index.h>
 #include <asm/mtrr.h>
 #include <asm/post.h>
 #include <asm/processor.h>
 #include <asm/processor-flags.h>
-#include <asm/arch/microcode.h>
 
 #define MTRR_PHYS_BASE_MSR(reg) (0x200 + 2 * (reg))
 #define MTRR_PHYS_MASK_MSR(reg) (0x200 + 2 * (reg) + 1)
@@ -237,5 +237,7 @@ mtrr_table_end:
        .align 4
 _dt_ucode_base_size:
        /* These next two fields are filled in by ifdtool */
+.globl ucode_base
+ucode_base:    /* Declared in microcode.h */
        .long   0                       /* microcode base */
        .long   0                       /* microcode size */