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:
Blue Swirl
2009-05-05 17:57:18 +00:00
parent a924d32bcc
commit b464c960b4

View File

@@ -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);