aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-imx8
diff options
context:
space:
mode:
authorPeng Fan2018-10-18 14:28:15 +0200
committerStefano Babic2018-10-22 12:59:01 +0200
commit0468be6e7c51296e8f3dcc4ba0bad84a204cc91a (patch)
treedafa4e5f3369daa86ff735084504d804673a2798 /arch/arm/include/asm/arch-imx8
parent8c518722480aca0275107ab13f68fffc2688afd4 (diff)
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 <peng.fan@nxp.com> Reviewed-by: Anatolij Gustschin <agust@denx.de> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-imx8')
-rw-r--r--arch/arm/include/asm/arch-imx8/imx8-pins.h15
1 files changed, 15 insertions, 0 deletions
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 00000000000..dcced1010bf
--- /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 <dt-bindings/pinctrl/pads-imx8qxp.h>
+#else
+#error "No pin header"
+#endif
+
+#endif /* __ASM_ARCH_IMX8_PINS_H__ */