autoload.c (7847e04111f2c2b06b36f6d19a46d78814d7836d) | autoload.c (0eb610e8e38bb3246cf902100aeae9d800bae53d) |
---|---|
1/*- 2 * Copyright (c) 2010 Rui Paulo <rpaulo@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 36 unchanged lines hidden (view full) --- 45 * just after all currently loaded files for the data that will be 46 * passed to the kernel and newly loaded files will be positioned in 47 * that same space. 48 * 49 * We're glossing over errors here because LOADER_FDT_SUPPORT does not 50 * imply that we're on a platform where FDT is a requirement. If we 51 * fix this, then the error handling here should be fixed accordingly. 52 */ | 1/*- 2 * Copyright (c) 2010 Rui Paulo <rpaulo@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 36 unchanged lines hidden (view full) --- 45 * just after all currently loaded files for the data that will be 46 * passed to the kernel and newly loaded files will be positioned in 47 * that same space. 48 * 49 * We're glossing over errors here because LOADER_FDT_SUPPORT does not 50 * imply that we're on a platform where FDT is a requirement. If we 51 * fix this, then the error handling here should be fixed accordingly. 52 */ |
53 fdt_setup_fdtp(); | 53 if (fdt_is_setup() == 0) 54 fdt_setup_fdtp(); |
54#endif 55 return (0); 56} | 55#endif 56 return (0); 57} |