[U-Boot] [PATCH 02/10] imx6: move all standard includes to mx6_common.h

Tom Rini trini at konsulko.com
Mon May 11 14:32:01 CEST 2015


On Mon, May 11, 2015 at 12:23:21PM +0100, Peter Robinson wrote:

> The linux/sizes.h, asm/arch/imx-regs.h, asm/imx-common/gpio.h, 
> config_cmd_default.h includes are used fairly universally across imx6 boards
> so include them in mx6_common.h by default.
[snip]
> diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
> index e0528ce..edaa4f6 100644
> --- a/include/configs/mx6_common.h
> +++ b/include/configs/mx6_common.h
> @@ -31,4 +31,9 @@
>  #define CONFIG_MP
>  #define CONFIG_MXC_GPT_HCLK
>  
> +#include <linux/sizes.h>
> +#include <asm/arch/imx-regs.h>
> +#include <asm/imx-common/gpio.h>
> +#include <config_cmd_default.h>

This and then 7/10 aren't quite right.  We want to make sure that prior
to including config_cmd_default.h we set CONFIG_SYS_NO_FLASH so that we
don't have to undef CONFIG_CMD_FLASH / CONFIG_CMD_IMLS

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


More information about the U-Boot mailing list