]> git.sur5r.net Git - u-boot/blobdiff - drivers/misc/qfw.c
spl: use different BOARD_INIT MACRO for spl and tpl
[u-boot] / drivers / misc / qfw.c
index d43d1d300ac28bf73b763fd9fc8241d49afffe8b..a8af9e0c537f921f57b5b7c4709e7124fc4cd4df 100644 (file)
@@ -32,7 +32,7 @@ static LIST_HEAD(fw_list);
  *          be ignored.
  * @return: 0 on success, or negative value on failure
  */
-static int bios_linker_allocate(struct bios_linker_entry *entry, u32 *addr)
+static int bios_linker_allocate(struct bios_linker_entry *entry, ulong *addr)
 {
        uint32_t size, align;
        struct fw_file *file;
@@ -147,7 +147,7 @@ static int bios_linker_add_checksum(struct bios_linker_entry *entry)
 }
 
 /* This function loads and patches ACPI tables provided by QEMU */
-u32 write_acpi_tables(u32 addr)
+ulong write_acpi_tables(ulong addr)
 {
        int i, ret = 0;
        struct fw_file *file;