]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/x86_64/cpu.c
Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR
[u-boot] / arch / x86 / cpu / x86_64 / cpu.c
index 36272296e638a9a8fde6c87d33a6c9c3dbf0d9f6..693d1a31f3d5f37be12cf025651bc24dd9a8d45d 100644 (file)
@@ -8,8 +8,6 @@
 #include <common.h>
 #include <debug_uart.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /* Global declaration of gd */
 struct global_data *global_data_ptr;
 
@@ -31,7 +29,9 @@ void arch_setup_gd(gd_t *new_gd)
         *
         * U-Boot SPL 2017.01
         */
+#ifdef CONFIG_DEBUG_UART
        printch(' ');
+#endif
 }
 
 int cpu_has_64bit(void)
@@ -59,3 +59,18 @@ int x86_mp_init(void)
        /* Not implemented */
        return 0;
 }
+
+int misc_init_r(void)
+{
+       return 0;
+}
+
+int checkcpu(void)
+{
+       return 0;
+}
+
+int print_cpuinfo(void)
+{
+       return 0;
+}