hw/microblaze: Indentation cleanups
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
11a7621763
commit
d0b022a0e9
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user