Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / x86 / cpu / tangier / sdram.c
index daa9909e8f372a8fd8d894eb01fad2be662f1d08..df3b9e4ec975ffdce9c8781c7b0b8be277e5527b 100644 (file)
@@ -1,10 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2017 Intel Corporation
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
+#include <init.h>
+#include <log.h>
 #include <asm/e820.h>
 #include <asm/global_data.h>
 #include <asm/sfi.h>
@@ -100,7 +101,7 @@ static struct sfi_table_simple *sfi_search_mmap(void)
             i++, mentry++)                                             \
 
 static unsigned int sfi_setup_e820(unsigned int max_entries,
-                                  struct e820entry *entries)
+                                  struct e820_entry *entries)
 {
        struct sfi_table_simple *sb;
        struct sfi_mem_entry *mentry;
@@ -190,7 +191,7 @@ static phys_size_t sfi_get_ram_size(void)
 }
 
 unsigned int install_e820_map(unsigned int max_entries,
-                             struct e820entry *entries)
+                             struct e820_entry *entries)
 {
        return sfi_setup_e820(max_entries, entries);
 }