mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
ubldr: Force 'usefdt' variable to 1 for powerpc
The fdt is gated, on powerpc, with a 'usefdt' environment variable. Force enable it in ubldr, so that the fdt is passed through the metadata.
This commit is contained in:
parent
b27a4408c2
commit
781dc30c1b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341391
|
@ -497,6 +497,9 @@ main(int argc, char **argv)
|
|||
do_interact:
|
||||
setenv("LINES", "24", 1); /* optional */
|
||||
setenv("prompt", "loader>", 1);
|
||||
#ifdef __powerpc__
|
||||
setenv("usefdt", "1", 1);
|
||||
#endif
|
||||
|
||||
archsw.arch_loadaddr = uboot_loadaddr;
|
||||
archsw.arch_getdev = uboot_getdev;
|
||||
|
|
Loading…
Reference in a new issue