1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/stand/powerpc/ofw
Kyle Evans 2a1e52f347 stand: refactor overlay loading a little bit
It was pointed out that manually loading a .dtb to be used rather than
relying on platform-specific method for loading .dtb will result in overlays
not being applied. This was true because overlay loading was hacked into
fdt_platform_load_dtb, rather than done in a way more independent from how
the .dtb is loaded.

Instead, push overlay loading (for now) out into an
fdt_platform_load_overlays. This method easily allows ubldr to pull in any
fdt_overlays specified in the ub env, and omits overlay-checking on
platforms where they're not tested and/or not desired (e.g. powerpc). If we
eventually stop caring about fdt_overlays from ubenv (if we ever cared),
this method should get chopped out in favor of just calling
fdt_load_dtb_overlays() directly.

Reported by:	Manuel Stühn (freebsdnewbie freenet de)
2019-04-11 13:26:28 +00:00
..
conf.c
elf_freebsd.c Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
ldscript.powerpc
main.c bootprog_info is generated in vers.c. Move it's definition to 2018-06-14 06:41:33 +00:00
Makefile
ofwfdt.c stand: refactor overlay loading a little bit 2019-04-11 13:26:28 +00:00
ppc64_elf_freebsd.c Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
start.c
version