From: Jagan Teki <jagannadh.teki@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 01/17] imx: iomux-v3: Fix build error with snvs base
Date: Sat, 17 Sep 2016 02:18:33 +0530 [thread overview]
Message-ID: <1474058929-17637-2-git-send-email-jagan@amarulasolutions.com> (raw)
In-Reply-To: <1474058929-17637-1-git-send-email-jagan@amarulasolutions.com>
snvs base is added only for i.MX6ULL but the code is
added for common, so firing build error while compiling
other i.MX6 SOC's
Issue observed with the below patch
"imx: mx6ull: Update memory map address"
(sha1: e8eac1b5b3a98a06426bc4867c03c38329841e5c)
Build log:
CC arch/arm/imx-common/iomux-v3.o
arch/arm/imx-common/iomux-v3.c: In function 'imx_iomux_v3_setup_pad':
arch/arm/imx-common/iomux-v3.c:56:19: error: 'IOMUXC_SNVS_BASE_ADDR' undeclared (first use in this function)
base = (void *)IOMUXC_SNVS_BASE_ADDR;
Cc: Stefano Babic <sbabic@denx.de>
Cc: Peng Fan <van.freenix@gmail.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
arch/arm/imx-common/iomux-v3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/imx-common/iomux-v3.c b/arch/arm/imx-common/iomux-v3.c
index 78f667e..efb884c 100644
--- a/arch/arm/imx-common/iomux-v3.c
+++ b/arch/arm/imx-common/iomux-v3.c
@@ -50,7 +50,7 @@ void imx_iomux_v3_setup_pad(iomux_v3_cfg_t pad)
if (sel_input_ofs)
sel_input_ofs += IOMUX_LPSR_SEL_INPUT_OFS;
}
-#else
+#elif defined(CONFIG_MX6ULL)
if (is_mx6ull()) {
if (lpsr == IOMUX_CONFIG_LPSR) {
base = (void *)IOMUXC_SNVS_BASE_ADDR;
--
2.7.4
next prev parent reply other threads:[~2016-09-16 20:48 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-16 20:48 [U-Boot] [PATCH v2 00/17] imx6: Add Engicam i.CoreM6 QDL modules support Jagan Teki
2016-09-16 20:48 ` Jagan Teki [this message]
2016-09-18 7:03 ` [U-Boot] [PATCH v2 01/17] imx: iomux-v3: Fix build error with snvs base Peng Fan
2016-09-18 8:28 ` Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 02/17] serial: Kconfig: Add MXC_UART entry Jagan Teki
2016-09-19 5:53 ` Peng Fan
2016-09-19 7:16 ` Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 03/17] thermal: Kconfig: Add IMX_THERMAL entry Jagan Teki
2016-09-19 5:55 ` Peng Fan
2016-09-16 20:48 ` [U-Boot] [PATCH v2 04/17] Kconfig: Add DEFAULT_FDT_FILE entry Jagan Teki
2016-09-18 18:15 ` Tom Rini
2016-09-16 20:48 ` [U-Boot] [PATCH v2 05/17] arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support Jagan Teki
2016-09-19 6:06 ` Peng Fan
2016-09-19 7:42 ` Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 06/17] imx6: icorem6: Add ENET support Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 07/17] imx: s/docs\/README.imximage/doc\/README.imximage/g Jagan Teki
2016-09-19 6:14 ` Peng Fan
2016-09-16 20:48 ` [U-Boot] [PATCH v2 08/17] arm: dts: Add devicetree for i.MX6DL Jagan Teki
2016-09-19 6:17 ` Peng Fan
2016-09-16 20:48 ` [U-Boot] [PATCH v2 09/17] arm: dts: Add devicetree for i.MX6DQL Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 10/17] arm: dts: imx6dl: Add pinctrl defines Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 11/17] dt-bindings: clock: imx6qdl: Add clock defines Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 12/17] arm: imx6q: Add devicetree support for Engicam i.CoreM6 DualLite/Solo Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 13/17] imx6q: icorem6: Enable pinctrl driver Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 14/17] engicam: icorem6: Add DM_GPIO, DM_MMC support Jagan Teki
2016-09-19 6:25 ` Peng Fan
2016-09-19 7:23 ` Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 15/17] arm: dts: Add devicetree for i.MX6Q Jagan Teki
2016-09-19 6:28 ` Peng Fan
2016-09-20 13:18 ` Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 16/17] arm: dts: imx6q: Add pinctrl defines Jagan Teki
2016-09-16 20:48 ` [U-Boot] [PATCH v2 17/17] arm: imx6q: Add devicetree support for Engicam i.CoreM6 Quad/Dual Jagan Teki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1474058929-17637-2-git-send-email-jagan@amarulasolutions.com \
--to=jagannadh.teki@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.