[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/3] xtensa_lx60: fix build date code and change mem
From: |
Max Filippov |
Subject: |
[Qemu-devel] [PATCH 3/3] xtensa_lx60: fix build date code and change memory region names |
Date: |
Tue, 1 Nov 2011 02:17:31 +0400 |
Fix date code to uses MMDDYYYY notation.
Change memory region names to reflect specification that defines them.
Signed-off-by: Max Filippov <address@hidden>
---
hw/xtensa_lx60.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/xtensa_lx60.c b/hw/xtensa_lx60.c
index 069b21c..8947157 100644
--- a/hw/xtensa_lx60.c
+++ b/hw/xtensa_lx60.c
@@ -63,7 +63,7 @@ static uint64_t lx60_fpga_read(void *opaque,
target_phys_addr_t addr,
switch (addr) {
case 0x0: /*build date code*/
- return 0x27092011;
+ return 0x09272011;
case 0x4: /*processor clock frequency, Hz*/
return 10000000;
@@ -107,7 +107,7 @@ static Lx60FpgaState *lx60_fpga_init(MemoryRegion
*address_space,
Lx60FpgaState *s = g_malloc(sizeof(Lx60FpgaState));
memory_region_init_io(&s->iomem, &lx60_fpga_ops, s,
- "lx60-fpga", 0x10000);
+ "lx60.fpga", 0x10000);
memory_region_add_subregion(address_space, base, &s->iomem);
lx60_fpga_reset(s);
qemu_register_reset(lx60_fpga_reset, s);
@@ -186,11 +186,11 @@ static void lx_init(const LxBoardDesc *board,
}
ram = g_malloc(sizeof(*ram));
- memory_region_init_ram(ram, NULL, "xtensa.sram", ram_size);
+ memory_region_init_ram(ram, NULL, "lx60.dram", ram_size);
memory_region_add_subregion(system_memory, 0, ram);
system_io = g_malloc(sizeof(*system_io));
- memory_region_init(system_io, "system.io", 224 * 1024 * 1024);
+ memory_region_init(system_io, "lx60.io", 224 * 1024 * 1024);
memory_region_add_subregion(system_memory, 0xf0000000, system_io);
lx60_fpga_init(system_io, 0x0d020000);
if (nd_table[0].vlan) {
--
1.7.6.4
- [Qemu-devel] [PULL 0/7] target-xtensa patches for 1.0, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 2/7] target-xtensa: handle cache options in the overlay tool, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 1/7] target-xtensa: mask out undefined bits of WINDOWBASE SR, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 1/3] xtensa_lx60: add FLASH support, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 2/3] xtensa_lx60: pass kernel arguments from -append, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 3/3] xtensa_lx60: fix build date code and change memory region names,
Max Filippov <=
- [Qemu-devel] [PATCH 4/7] opencores_eth: fix RX path: FCS, padding and TL, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 3/7] target-xtensa: raise an exception for invalid and reserved opcodes, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 6/7] xtensa_lx60: pass kernel arguments from -append, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 7/7] xtensa_lx60: fix build date code and change memory region names, Max Filippov, 2011/10/31
- [Qemu-devel] [PATCH 5/7] xtensa_lx60: add FLASH support, Max Filippov, 2011/10/31
- Re: [Qemu-devel] [PULL 0/7] target-xtensa patches for 1.0, Max Filippov, 2011/10/31