Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2018 17:44:40 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334341 - head/sys/dev/fdt
Message-ID:  <201805291744.w4THieav063142@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805291744.w4THieav063142>