[PATCH] arm: cfa10036: Add the OCOTP device

Sascha Hauer s.hauer at pengutronix.de
Fri Sep 28 10:32:20 EDT 2012


On Fri, Sep 28, 2012 at 03:58:21PM +0200, Maxime Ripard wrote:
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---
>  arch/arm/boards/crystalfontz-cfa10036/cfa10036.c |    4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
> index fcb7057..522d2d7 100644
> --- a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
> +++ b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
> @@ -23,6 +23,7 @@
>  #include <init.h>
>  #include <mci.h>
>  #include <io.h>
> +#include <net.h>
>  #include <sizes.h>
>  
>  #include <mach/clock.h>
> @@ -93,6 +94,9 @@ static int cfa10036_devices_init(void)
>  	add_generic_device("mxs_mci", 0, NULL, IMX_SSP0_BASE, SZ_8K,
>  			   IORESOURCE_MEM, &mci_pdata);
>  
> +	add_generic_device("ocotp", 0, NULL, IMX_OCOTP_BASE, SZ_8K,
> +			   IORESOURCE_MEM, NULL);
> +
>  	return 0;
>  }
>  device_initcall(cfa10036_devices_init);
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at 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 |



More information about the barebox mailing list