[U-Boot] [PATCH v2 5/9] Fix up inclusion of common.h

Tom Rini trini at konsulko.com
Wed May 10 21:43:18 UTC 2017


On Mon, May 01, 2017 at 09:18:48AM -0600, Simon Glass wrote:

> It is good practice to include common.h as the first header. This ensures
> that required features like the DECLARE_GLOBAL_DATA_PTR macro,
> configuration options and common types are available.
> 
> Fix up some files which currently don't do this. This is necessary because
> driver model will soon start using global data and configuration in the
> dm/ofnode.h header file, included via dm.h.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170510/e92424e5/attachment.sig>


More information about the U-Boot mailing list