Fix fake CPU ID value (Igor Kovalenko)

Small correction: cpuid property of qemu cpu should be "0" for the
linux kernel to boot on qemu. This is because kernel is reading cpu
registers to find out current smp processor ID and it happens to find
out "0" cpuid because corresponding register is zeroed by qemu.
Currently kernel fails since there is no "0" cpu node in tree.


git-svn-id: svn://coreboot.org/openbios/openbios-devel@283 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2008-12-11 17:10:03 +00:00
parent 40feb4bb04
commit 3038a07be7

View File

@@ -424,7 +424,7 @@ static void cpu_generic_init(const struct cpudef *cpu)
push_str("sparc-version");
fword("property");
PUSH(1);
PUSH(0);
fword("encode-int");
push_str("cpuid");
fword("property");