diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2018-12-02 02:20:35 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2018-12-02 02:20:35 +0000 |
commit | 781dc30c1b6704ead3aec12a01fc2bdeae3b3185 (patch) | |
tree | c89f036a7a6c8988bb786d50d01f5e711a7eb708 /stand/uboot | |
parent | b27a4408c22b14c19598d082ed9606a08458fb29 (diff) | |
download | src-test2-781dc30c1b6704ead3aec12a01fc2bdeae3b3185.tar.gz src-test2-781dc30c1b6704ead3aec12a01fc2bdeae3b3185.zip |
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.
Notes
Notes:
svn path=/head/; revision=341391
Diffstat (limited to 'stand/uboot')
-rw-r--r-- | stand/uboot/common/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stand/uboot/common/main.c b/stand/uboot/common/main.c index c7ca501c7a45..50a12cd425fb 100644 --- a/stand/uboot/common/main.c +++ b/stand/uboot/common/main.c @@ -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; |