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, static int microblaze_load_dtb(hwaddr addr,
uint32_t ramsize, uint32_t ramsize,
const char *kernel_cmdline, const char *kernel_cmdline,
const char *dtb_filename) const char *dtb_filename)
{ {
int fdt_size; int fdt_size;
void *fdt = NULL; void *fdt = NULL;
@ -157,8 +157,9 @@ void microblaze_load_kernel(MicroBlazeCPU *cpu, hwaddr ddr_base,
} }
/* Provide a device-tree. */ /* Provide a device-tree. */
boot_info.fdt = boot_info.cmdline + 4096; boot_info.fdt = boot_info.cmdline + 4096;
microblaze_load_dtb(boot_info.fdt, ram_size, kernel_cmdline, microblaze_load_dtb(boot_info.fdt, ram_size,
dtb_filename); 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, microblaze_load_kernel(cpu, ddr_base, ram_size,
machine_cpu_reset); 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); xilinx_ethlite_create(&nd_table[0], ETHLITE_BASEADDR, irq[1], 0, 0);
microblaze_load_kernel(cpu, ddr_base, ram_size, 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 = { static QEMUMachine petalogix_s3adsp1800_machine = {