]> Git Repo - J-u-boot.git/blobdiff - board/emulation/qemu-ppce500/qemu-ppce500.c
fdt: Swap the signature for board_fdt_blob_setup()
[J-u-boot.git] / board / emulation / qemu-ppce500 / qemu-ppce500.c
index 58e5d5eb942708152fa7d124dad1648e29ce50c5..40d295dbf060dc6be509796e09afd70b563c9e82 100644 (file)
@@ -334,15 +334,11 @@ u32 cpu_mask(void)
        return (1 << cpu_numcores()) - 1;
 }
 
-/**
- * Return the virtual address of FDT that was passed by QEMU
- *
- * Return: virtual address of FDT received from QEMU in r3 register
- */
-void *board_fdt_blob_setup(int *err)
+int board_fdt_blob_setup(void **fdtp)
 {
-       *err = 0;
-       return get_fdt_virt();
+       *fdtp = get_fdt_virt();
+
+       return 0;
 }
 
 /* See CFG_SYS_NS16550_CLK in arch/powerpc/include/asm/config.h */
This page took 0.026349 seconds and 4 git commands to generate.