From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: barebox@lists.infradead.org
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Subject: [PATCH v6 01/10] ARM: i.MX: ocotp: Provide missing .format_mac for i.MX8MQ
Date: Wed, 13 Jun 2018 23:27:42 -0700 [thread overview]
Message-ID: <20180614062751.29856-2-andrew.smirnov@gmail.com> (raw)
In-Reply-To: <20180614062751.29856-1-andrew.smirnov@gmail.com>
From: Sascha Hauer <s.hauer@pengutronix.de>
Provide missing .format_mac for i.MX8MQ to prevent driver from
crashing on start.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
drivers/nvmem/ocotp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/nvmem/ocotp.c b/drivers/nvmem/ocotp.c
index f3af8620e..c2d2982ee 100644
--- a/drivers/nvmem/ocotp.c
+++ b/drivers/nvmem/ocotp.c
@@ -652,6 +652,7 @@ static struct imx_ocotp_data imx8mq_ocotp_data = {
.addr_to_offset = imx6sl_addr_to_offset,
.mac_offsets_num = 1,
.mac_offsets = { 0x90 },
+ .format_mac = imx_ocotp_format_mac,
};
static __maybe_unused struct of_device_id imx_ocotp_dt_ids[] = {
--
2.17.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2018-06-14 6:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-14 6:27 [PATCH v6 00/10] ARM: i.MX8MQ and EVK support Andrey Smirnov
2018-06-14 6:27 ` Andrey Smirnov [this message]
2018-06-14 6:27 ` [PATCH v6 02/10] Port <linux/iopoll.h> from U-Boot Andrey Smirnov
2018-06-14 6:27 ` [PATCH v6 03/10] clock: Use udelay() to implement mdelay() Andrey Smirnov
2018-06-14 10:04 ` Antony Pavlov
2018-06-15 3:40 ` Andrey Smirnov
2018-06-14 6:27 ` [PATCH v6 04/10] ARM: i.MX8: Add DDRC PHY support code Andrey Smirnov
2018-06-14 6:27 ` [PATCH v6 05/10] ARM: Specify HAVE_PBL_IMAGE for CPU_64 Andrey Smirnov
2018-06-14 6:27 ` [PATCH v6 06/10] scripts: imx-image: Use a loop to create multiple header copies Andrey Smirnov
2018-06-14 6:27 ` [PATCH v6 07/10] scripts: imx-image: Share the code to write barebox header Andrey Smirnov
2018-06-14 6:27 ` [PATCH v6 08/10] scripts: imx-image: Add i.MX8MQ support Andrey Smirnov
2018-06-14 6:27 ` [PATCH v6 09/10] ARM: i.MX8: Add i.MX8mq EVK support Andrey Smirnov
2018-06-14 6:27 ` [PATCH v6 10/10] ARM: Introduce imx_v8_defconfig Andrey Smirnov
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=20180614062751.29856-2-andrew.smirnov@gmail.com \
--to=andrew.smirnov@gmail.com \
--cc=barebox@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox