mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
quik_startup() uses now encode_bootpath() instead of calling
find_dev()/set_property(). git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@541 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -346,7 +346,6 @@ quik_startup( void )
|
||||
struct first_info fi;
|
||||
} fi;
|
||||
} u;
|
||||
phandle_t ph;
|
||||
|
||||
if ((fd = open_io(path)) == -1) {
|
||||
ELF_DPRINTF("Can't open %s\n", path);
|
||||
@@ -367,10 +366,7 @@ quik_startup( void )
|
||||
if (memcmp(u.fi.fi.quik_vers, "QUIK", 4))
|
||||
return;
|
||||
|
||||
ph = find_dev("/options");
|
||||
set_property(ph, "boot-device", path, strlen(path) + 1);
|
||||
ph = find_dev("/chosen");
|
||||
set_property(ph, "bootargs", "Linux", 6);
|
||||
encode_bootpath(path, "Linux");
|
||||
|
||||
if( ofmem_claim( QUIK_FIRST_BASEADDR, len, 0 ) == -1 )
|
||||
fatal_error("Claim failed!\n");
|
||||
|
||||
Reference in New Issue
Block a user