aboutsummaryrefslogtreecommitdiff
path: root/stand/powerpc/uboot/conf.c
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2018-12-10 01:52:39 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2018-12-10 01:52:39 +0000
commit9471caaba7b94fdea485a613636641f67d055992 (patch)
tree6bdd2b8002d9cd82fc9e4414905a8fd117f28a79 /stand/powerpc/uboot/conf.c
parent0cbe99d748db95d06cbfe1b35a996ea120ed971c (diff)
downloadsrc-9471caaba7b94fdea485a613636641f67d055992.tar.gz
src-9471caaba7b94fdea485a613636641f67d055992.zip
powerpc/ubldr: Teach powerpc's ubldr to boot 64-bit kernels
This is just a copy of powerpc/ofw's ppc64_elf_freebsd.c modified to fit ubldr's boot format. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=341780
Diffstat (limited to 'stand/powerpc/uboot/conf.c')
-rw-r--r--stand/powerpc/uboot/conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/powerpc/uboot/conf.c b/stand/powerpc/uboot/conf.c
index 561238d1ccf7..49658a47cbd4 100644
--- a/stand/powerpc/uboot/conf.c
+++ b/stand/powerpc/uboot/conf.c
@@ -95,9 +95,11 @@ struct netif_driver *netif_drivers[] = {
* Sort formats so that those that can detect based on arguments
* rather than reading the file go first.
*/
+extern struct file_format uboot_elf64;
struct file_format *file_formats[] = {
&uboot_elf,
+ &uboot_elf64,
NULL
};