svn commit: r334341 - head/sys/dev/fdt

Andrew Turner andrew at FreeBSD.org
Tue May 29 17:44:41 UTC 2018


Author: andrew
Date: Tue May 29 17:44:40 2018
New Revision: 334341
URL: https://svnweb.freebsd.org/changeset/base/334341

Log:
  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

Modified:
  head/sys/dev/fdt/fdt_common.h

Modified: head/sys/dev/fdt/fdt_common.h
==============================================================================
--- head/sys/dev/fdt/fdt_common.h	Tue May 29 16:16:24 2018	(r334340)
+++ head/sys/dev/fdt/fdt_common.h	Tue May 29 17:44:40 2018	(r334341)
@@ -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
 


More information about the svn-src-head mailing list