mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix device_type property
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@486 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -1076,8 +1076,7 @@ ob_floppy_initialize(const char *path)
|
||||
int props[3];
|
||||
phandle_t ph = find_dev(path);
|
||||
|
||||
push_str("block");
|
||||
fword("device-type");
|
||||
set_property(ph, "device_type", "block", sizeof("block"));
|
||||
|
||||
// Set dummy reg properties
|
||||
props[0] = __cpu_to_be32(0); props[1] = __cpu_to_be32(0); props[2] = __cpu_to_be32(0);
|
||||
|
||||
Reference in New Issue
Block a user