From b464c960b4c00b34f1cce3b4e4fea53bf8e09757 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Tue, 5 May 2009 17:57:18 +0000 Subject: [PATCH] Fix device_type property git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@486 f158a5a8-5612-0410-a976-696ce0be7e32 --- drivers/floppy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/floppy.c b/drivers/floppy.c index 209ec53..0091a13 100644 --- a/drivers/floppy.c +++ b/drivers/floppy.c @@ -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);