xref: /freebsd/stand/kboot/kboot/arch/amd64/fdt_arch.c (revision 091c255b)
1091c255bSWarner Losh /*-
2091c255bSWarner Losh  * Copyright (c) 2022 Netflix, Inc
3091c255bSWarner Losh  *
4091c255bSWarner Losh  * Redistribution and use in source and binary forms, with or without
5091c255bSWarner Losh  * modification, are permitted provided that the following conditions
6091c255bSWarner Losh  * are met:
7091c255bSWarner Losh  * 1. Redistributions of source code must retain the above copyright
8091c255bSWarner Losh  *    notice, this list of conditions and the following disclaimer.
9091c255bSWarner Losh  * 2. Redistributions in binary form must reproduce the above copyright
10091c255bSWarner Losh  *    notice, this list of conditions and the following disclaimer in the
11091c255bSWarner Losh  *    documentation and/or other materials provided with the distribution.
12091c255bSWarner Losh  *
13091c255bSWarner Losh  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14091c255bSWarner Losh  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15091c255bSWarner Losh  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16091c255bSWarner Losh  * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
17091c255bSWarner Losh  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
18091c255bSWarner Losh  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
19091c255bSWarner Losh  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
20091c255bSWarner Losh  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
21091c255bSWarner Losh  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
22091c255bSWarner Losh  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23091c255bSWarner Losh  */
24091c255bSWarner Losh 
25091c255bSWarner Losh #include <sys/types.h>
26091c255bSWarner Losh #include "kboot.h"
27091c255bSWarner Losh 
28091c255bSWarner Losh void
fdt_arch_fixups(void * fdtp)29091c255bSWarner Losh fdt_arch_fixups(void *fdtp)
30091c255bSWarner Losh {
31091c255bSWarner Losh 	/* amd64 doesn't pass in a FDT, so nothing to fix */
32091c255bSWarner Losh }
33