From: Philipp Zabel <p.zabel@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [PATCH 6/6] ARM i.MX6: sabrelite: register SPI flash barebox update handler
Date: Mon, 18 Nov 2013 12:06:37 +0100 [thread overview]
Message-ID: <1384772798-3297-6-git-send-email-p.zabel@pengutronix.de> (raw)
In-Reply-To: <1384772798-3297-1-git-send-email-p.zabel@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
arch/arm/boards/freescale-mx6-sabrelite/board.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boards/freescale-mx6-sabrelite/board.c b/arch/arm/boards/freescale-mx6-sabrelite/board.c
index 22be6f8..e9a8a4a 100644
--- a/arch/arm/boards/freescale-mx6-sabrelite/board.c
+++ b/arch/arm/boards/freescale-mx6-sabrelite/board.c
@@ -20,6 +20,7 @@
#include <mach/imx6-regs.h>
#include <fec.h>
#include <gpio.h>
+#include <mach/bbu.h>
#include <asm/armlinux.h>
#include <generated/mach-types.h>
#include <partition.h>
@@ -123,6 +124,8 @@ static int sabrelite_devices_init(void)
armlinux_set_bootparams((void *)0x10000100);
armlinux_set_architecture(3769);
+ imx6_bbu_internal_spi_i2c_register_handler("spiflash", "/dev/m25p0.barebox",
+ BBU_HANDLER_FLAG_DEFAULT, NULL, 0, 0);
return 0;
}
--
1.8.4.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2013-11-18 11:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-18 11:06 [PATCH 1/6] ARM i.MX6: sabrelite: switch to multiboard support Philipp Zabel
2013-11-18 11:06 ` [PATCH 2/6] ARM i.MX6: sabrelite: switch to multi image support Philipp Zabel
2013-11-18 11:06 ` [PATCH 3/6] ARM i.MX6: sabrelite: use &uart2 instead of hard-coding path Philipp Zabel
2013-11-18 11:06 ` [PATCH 4/6] ARM i.MX6: sabrelite: usb is probed from device tree Philipp Zabel
2013-11-18 11:11 ` Alexander Shiyan
2013-11-20 6:20 ` Sascha Hauer
2013-11-18 11:06 ` [PATCH 5/6] ARM i.MX6: sabrelite: move flash partitions into " Philipp Zabel
2013-11-18 11:06 ` Philipp Zabel [this message]
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=1384772798-3297-6-git-send-email-p.zabel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--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