hw/microblaze: Indentation cleanups

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
Edgar E. Iglesias 2013-05-05 10:52:41 +02:00
parent 11a7621763
commit d0b022a0e9
3 changed files with 10 additions and 8 deletions

View File

@ -57,9 +57,9 @@ static void main_cpu_reset(void *opaque)
}
static int microblaze_load_dtb(hwaddr addr,
uint32_t ramsize,
const char *kernel_cmdline,
const char *dtb_filename)
uint32_t ramsize,
const char *kernel_cmdline,
const char *dtb_filename)
{
int fdt_size;
void *fdt = NULL;
@ -157,8 +157,9 @@ void microblaze_load_kernel(MicroBlazeCPU *cpu, hwaddr ddr_base,
}
/* Provide a device-tree. */
boot_info.fdt = boot_info.cmdline + 4096;
microblaze_load_dtb(boot_info.fdt, ram_size, kernel_cmdline,
dtb_filename);
microblaze_load_dtb(boot_info.fdt, ram_size,
kernel_cmdline,
dtb_filename);
}
}

View File

@ -176,8 +176,9 @@ petalogix_ml605_init(QEMUMachineInitArgs *args)
}
}
microblaze_load_kernel(cpu, ddr_base, ram_size, BINARY_DEVICE_TREE_FILE,
machine_cpu_reset);
microblaze_load_kernel(cpu, ddr_base, ram_size,
BINARY_DEVICE_TREE_FILE,
machine_cpu_reset);
}

View File

@ -108,7 +108,7 @@ petalogix_s3adsp1800_init(QEMUMachineInitArgs *args)
xilinx_ethlite_create(&nd_table[0], ETHLITE_BASEADDR, irq[1], 0, 0);
microblaze_load_kernel(cpu, ddr_base, ram_size,
BINARY_DEVICE_TREE_FILE, machine_cpu_reset);
BINARY_DEVICE_TREE_FILE, machine_cpu_reset);
}
static QEMUMachine petalogix_s3adsp1800_machine = {