]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/lib/zimage.c
x86: acpi: Return table length in acpi_create_madt_lapics()
[u-boot] / arch / x86 / lib / zimage.c
index 566b048c88f73c71e9b0ac83fd4ea9028aefb72c..1b33c771391f49ffe82864ff1582bdfd07e5e97d 100644 (file)
@@ -25,6 +25,8 @@
 #endif
 #include <linux/compiler.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 /*
  * Memory lay-out:
  *
 
 #define COMMAND_LINE_SIZE      2048
 
-unsigned generic_install_e820_map(unsigned max_entries,
-                                 struct e820entry *entries)
-{
-       return 0;
-}
-
-unsigned install_e820_map(unsigned max_entries,
-                         struct e820entry *entries)
-       __attribute__((weak, alias("generic_install_e820_map")));
-
 static void build_command_line(char *command_line, int auto_boot)
 {
        char *env_command_line;
@@ -258,6 +250,8 @@ int setup_zimage(struct boot_params *setup_base, char *cmd_line, int auto_boot,
                build_command_line(cmd_line, auto_boot);
        }
 
+       setup_video(&setup_base->screen_info);
+
        return 0;
 }