From: Peng Fan Date: Thu, 18 Oct 2018 12:28:15 +0000 (+0200) Subject: imx8: pins: include i.MX8QXP pin header when CONFIG_IMX8QXP defined X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=0468be6e7c51296e8f3dcc4ba0bad84a204cc91a;p=u-boot.git imx8: pins: include i.MX8QXP pin header when CONFIG_IMX8QXP defined Include i.MX8QXP pin header when CONFIG_IMX8QXP defined, if no SoC macro defined, report error. Signed-off-by: Peng Fan Reviewed-by: Anatolij Gustschin Cc: Stefano Babic --- diff --git a/arch/arm/include/asm/arch-imx8/imx8-pins.h b/arch/arm/include/asm/arch-imx8/imx8-pins.h new file mode 100644 index 0000000000..dcced1010b --- /dev/null +++ b/arch/arm/include/asm/arch-imx8/imx8-pins.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2018 NXP + */ + +#ifndef __ASM_ARCH_IMX8_PINS_H__ +#define __ASM_ARCH_IMX8_PINS_H__ + +#if defined(CONFIG_IMX8QXP) +#include +#else +#error "No pin header" +#endif + +#endif /* __ASM_ARCH_IMX8_PINS_H__ */