Lines Matching +full:ecx +full:- +full:2000

4  * Copyright (c) 2010-2012 Calxeda
31 #include "qemu/error-report.h"
33 #include "hw/ide/ahci-sysbus.h"
39 #include "target/arm/cpu-qom.h"
100 #define TYPE_HIGHBANK_REGISTERS "highbank-regs"
113 .name = "highbank-regs",
126 s->regs[0x40] = 0x05F20121; in highbank_regs_reset()
127 s->regs[0x41] = 0x2; in highbank_regs_reset()
128 s->regs[0x42] = 0x05F30121; in highbank_regs_reset()
129 s->regs[0x43] = 0x05F40121; in highbank_regs_reset()
137 memory_region_init_io(&s->iomem, obj, &hb_mem_ops, s->regs, in highbank_regs_init()
139 sysbus_init_mmio(dev, &s->iomem); in highbank_regs_init()
146 dc->desc = "Calxeda Highbank registers"; in highbank_regs_class_init()
147 dc->vmsd = &vmstate_highbank_regs; in highbank_regs_class_init()
175 * normally 0xff900000 or -m 4089. When running this board on a
176 * 32-bit host, set the reg value of memory to 0xf7ff00000 in the
177 * device tree and pass -m 2047 to QEMU.
185 unsigned int smp_cpus = machine->smp.cpus; in calxeda_init()
196 machine->cpu_type = ARM_CPU_TYPE_NAME("cortex-a9"); in calxeda_init()
199 machine->cpu_type = ARM_CPU_TYPE_NAME("cortex-a15"); in calxeda_init()
209 cpuobj = object_new(machine->cpu_type); in calxeda_init()
213 object_property_set_int(cpuobj, "psci-conduit", QEMU_PSCI_CONDUIT_SMC, in calxeda_init()
216 if (object_property_find(cpuobj, "reset-cbar")) { in calxeda_init()
217 object_property_set_int(cpuobj, "reset-cbar", MPCORE_PERIPHBASE, in calxeda_init()
229 memory_region_add_subregion(sysmem, 0, machine->ram); in calxeda_init()
235 if (machine->firmware != NULL) { in calxeda_init()
236 sysboot_filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, machine->firmware); in calxeda_init()
239 error_report("Unable to load %s", machine->firmware); in calxeda_init()
244 error_report("Unable to find %s", machine->firmware); in calxeda_init()
262 qdev_prop_set_uint32(dev, "num-cpu", smp_cpus); in calxeda_init()
263 qdev_prop_set_uint32(dev, "num-irq", NIRQ_GIC); in calxeda_init()
321 highbank_binfo.ram_size = machine->ram_size; in calxeda_init()
323 * the board ID. The following value is ignored, so set it to -1 to be in calxeda_init()
326 highbank_binfo.board_id = -1; in calxeda_init()
347 ARM_CPU_TYPE_NAME("cortex-a9"), in highbank_class_init()
352 mc->desc = "Calxeda Highbank (ECX-1000)"; in highbank_class_init()
353 mc->init = highbank_init; in highbank_class_init()
354 mc->valid_cpu_types = valid_cpu_types; in highbank_class_init()
355 mc->block_default_type = IF_IDE; in highbank_class_init()
356 mc->units_per_default_bus = 1; in highbank_class_init()
357 mc->max_cpus = 4; in highbank_class_init()
358 mc->ignore_memory_transaction_failures = true; in highbank_class_init()
359 mc->default_ram_id = "highbank.dram"; in highbank_class_init()
371 ARM_CPU_TYPE_NAME("cortex-a15"), in midway_class_init()
376 mc->desc = "Calxeda Midway (ECX-2000)"; in midway_class_init()
377 mc->init = midway_init; in midway_class_init()
378 mc->valid_cpu_types = valid_cpu_types; in midway_class_init()
379 mc->block_default_type = IF_IDE; in midway_class_init()
380 mc->units_per_default_bus = 1; in midway_class_init()
381 mc->max_cpus = 4; in midway_class_init()
382 mc->ignore_memory_transaction_failures = true; in midway_class_init()
383 mc->default_ram_id = "highbank.dram"; in midway_class_init()