freebsd-src/sys/powerpc/ofw
Shawn Anastasio b52dceb838 powerpc: Bump maximum number of FDT reserved mem entries
Newer firmware on POWER systems, including v2.10 of the Talos II and
Blackbird firmware can end up reserving more than 32 memory regions in
the device tree, which exceeded an assumption made by ofw_machdep.c's
excise_fdt_reserved(). Bump the maximum number of FDT reservations to
the next power of 2 in order to fix booting on newer firmware.

PR:		277097
Reviewed by:	jhibbits
Differential Revision: https://reviews.freebsd.org/D44015
2024-02-28 22:01:15 -05:00
..
ofw_initrd.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_machdep.c powerpc: Bump maximum number of FDT reserved mem entries 2024-02-28 22:01:15 -05:00
ofw_pcib_pci.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_pcibus.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_pcibus.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ofw_real.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ofw_syscons.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_syscons.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ofwcall32.S sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ofwcall64.S sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
openpic_ofw.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
rtas.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00