Increase the number of fdt memory regions we support to 16. Some SoCs have

many excluded regions causing a buffer overflow in the early boot code if
this value is too small.

Obtained from:	ABT Systems Ltd
Sponsored by:	Turing Robotic Industries
This commit is contained in:
Andrew Turner 2018-05-29 17:44:40 +00:00
parent ec6faf94c4
commit c0fd148b5d

View File

@ -39,7 +39,7 @@
#include <contrib/libfdt/libfdt_env.h>
#include <dev/ofw/ofw_bus.h>
#define FDT_MEM_REGIONS 8
#define FDT_MEM_REGIONS 16
#define DI_MAX_INTR_NUM 32