[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/7] hw/mips/fuloong2e: Correct cpuclock env
From: |
Jiaxun Yang |
Subject: |
[PATCH 6/7] hw/mips/fuloong2e: Correct cpuclock env |
Date: |
Wed, 16 Dec 2020 10:31:22 +0800 |
It should be 533080000.
See clock_set_hz.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
hw/mips/fuloong2e.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/mips/fuloong2e.c b/hw/mips/fuloong2e.c
index 256c7867e4..af2d259dc4 100644
--- a/hw/mips/fuloong2e.c
+++ b/hw/mips/fuloong2e.c
@@ -159,7 +159,7 @@ static uint64_t load_kernel(CPUMIPSState *env)
}
/* Setup minimum environment variables */
- prom_set(prom_buf, index++, "cpuclock=100000000");
+ prom_set(prom_buf, index++, "cpuclock=533080000");
prom_set(prom_buf, index++, "memsize=%"PRIi64, loaderparams.ram_size /
MiB);
prom_set(prom_buf, index++, NULL);
--
2.29.2
- [PATCH 0/7] hw/mips/fuloong2e fixes, Jiaxun Yang, 2020/12/15
- [PATCH 1/7] hw/mips/fuloong2e: Remove define DEBUG_FULOONG2E_INIT, Jiaxun Yang, 2020/12/15
- [PATCH 2/7] hw/mips/fuloong2e: Relpace fault links, Jiaxun Yang, 2020/12/15
- [PATCH 4/7] hw/pci-host/bonito: Fixup pci.lomem mapping, Jiaxun Yang, 2020/12/15
- [PATCH 3/7] hw/pci-host/bonito: Fixup IRQ mapping, Jiaxun Yang, 2020/12/15
- [PATCH 7/7] hw/mips/fuloong2e: Add highmem support, Jiaxun Yang, 2020/12/15
- [PATCH 5/7] hw/mips/fuloong2e: Remove unused env entry, Jiaxun Yang, 2020/12/15
- [PATCH 6/7] hw/mips/fuloong2e: Correct cpuclock env,
Jiaxun Yang <=