* [PATCH 3/3] imx53: add imx53_add_cspi
@ 2014-04-04 13:40 Wjatscheslaw Stoljarski (Slawa)
2014-04-05 16:29 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Wjatscheslaw Stoljarski (Slawa) @ 2014-04-04 13:40 UTC (permalink / raw)
To: barebox
From: "Wjatscheslaw Stoljarski" <wjatscheslaw.stoljarski@kiwigrid.com>
Signed-off-by: Wjatscheslaw Stoljarski <wjatscheslaw.stoljarski@kiwigrid.com>
---
arch/arm/mach-imx/include/mach/devices-imx53.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-imx/include/mach/devices-imx53.h b/arch/arm/mach-imx/include/mach/devices-imx53.h
index d4e9a4a..88be4fd 100644
--- a/arch/arm/mach-imx/include/mach/devices-imx53.h
+++ b/arch/arm/mach-imx/include/mach/devices-imx53.h
@@ -2,6 +2,11 @@
#include <mach/devices.h>
#include <mach/imx53-regs.h>
+static inline struct device_d *imx53_add_cspi(struct spi_imx_master *pdata)
+{
+ return imx_add_spi_imx35((void *)MX53_CSPI_BASE_ADDR, 0, pdata);
+}
+
static inline struct device_d *imx53_add_spi0(struct spi_imx_master *pdata)
{
return imx_add_spi_imx51((void *)MX53_ECSPI1_BASE_ADDR, 0, pdata);
--
1.7.9.5
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 3/3] imx53: add imx53_add_cspi
2014-04-04 13:40 [PATCH 3/3] imx53: add imx53_add_cspi Wjatscheslaw Stoljarski (Slawa)
@ 2014-04-05 16:29 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2014-04-05 16:29 UTC (permalink / raw)
To: Wjatscheslaw Stoljarski (Slawa); +Cc: barebox
Hi Wjatscheslaw,
On Fri, Apr 04, 2014 at 03:40:00PM +0200, Wjatscheslaw Stoljarski (Slawa) wrote:
> From: "Wjatscheslaw Stoljarski" <wjatscheslaw.stoljarski@kiwigrid.com>
>
>
> Signed-off-by: Wjatscheslaw Stoljarski <wjatscheslaw.stoljarski@kiwigrid.com>
Applied, thanks, although new boards should probe from devicetree and
not use the platform registration code.
Sascha
> ---
> arch/arm/mach-imx/include/mach/devices-imx53.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/mach-imx/include/mach/devices-imx53.h b/arch/arm/mach-imx/include/mach/devices-imx53.h
> index d4e9a4a..88be4fd 100644
> --- a/arch/arm/mach-imx/include/mach/devices-imx53.h
> +++ b/arch/arm/mach-imx/include/mach/devices-imx53.h
> @@ -2,6 +2,11 @@
> #include <mach/devices.h>
> #include <mach/imx53-regs.h>
>
> +static inline struct device_d *imx53_add_cspi(struct spi_imx_master *pdata)
> +{
> + return imx_add_spi_imx35((void *)MX53_CSPI_BASE_ADDR, 0, pdata);
> +}
> +
> static inline struct device_d *imx53_add_spi0(struct spi_imx_master *pdata)
> {
> return imx_add_spi_imx51((void *)MX53_ECSPI1_BASE_ADDR, 0, pdata);
> --
> 1.7.9.5
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-05 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04 13:40 [PATCH 3/3] imx53: add imx53_add_cspi Wjatscheslaw Stoljarski (Slawa)
2014-04-05 16:29 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox