From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
To: barebox@lists.infradead.org
Subject: How to port brcmnand Linux driver?
Date: Wed, 21 Sep 2016 10:40:43 +0200 (CEST) [thread overview]
Message-ID: <220039379.350137727.1474447243380.JavaMail.root@zimbra32-e6.priv.proxad.net> (raw)
In-Reply-To: <122759075.350079920.1474446203319.JavaMail.root@zimbra32-e6.priv.proxad.net>
Hi!
I'm trying to port the brcmnand driver for Broadcom NAND controller from Linux.
This driver requires an update of the MTD headers in barebox, as they lack
definitions for functions such as mtd_set_ooblayout().
What is the recommended strategy for this? Should I update the whole set of
headers and report the barebox specific changes (use of device_d, etc) or only
add the missing functions?
In general, when adding such driver, should the functions unsupported by barebox
(irq handling, memory barriers, etc) be stubbed or removed?
Best regards,
--
ELB
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next parent reply other threads:[~2016-09-21 8:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <122759075.350079920.1474446203319.JavaMail.root@zimbra32-e6.priv.proxad.net>
2016-09-21 8:40 ` Eric Le Bihan [this message]
2016-09-21 9:05 ` Sascha Hauer
2016-09-21 15:09 ` Eric Le Bihan
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=220039379.350137727.1474447243380.JavaMail.root@zimbra32-e6.priv.proxad.net \
--to=eric.le.bihan.dev@free.fr \
--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