From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 25 Jul 2016 22:33:02 -0400 Subject: [U-Boot] [U-Boot, 5/5] dtoc: Correct the type widening code in fdt_fallback In-Reply-To: <1469200969-4643-5-git-send-email-sjg@chromium.org> References: <1469200969-4643-5-git-send-email-sjg@chromium.org> Message-ID: <20160726023302.GL14698@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jul 22, 2016 at 09:22:49AM -0600, Simon Glass wrote: > This code does not match the fdt version in fdt.py. When dtoc is unable to > use the Python libfdt library, it uses the fallback version, which does not > widen arrays correctly. > > Fix this to avoid a warning 'excess elements in array initialize' in > dt-platdata.c which happens on some platforms. > > Reported-by: Tom Rini > Signed-off-by: Simon Glass > Tested-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: