[PATCH 04/16] add a add_mem_device function

Sascha Hauer s.hauer at pengutronix.de
Tue Jul 19 13:19:11 EDT 2011


On Tue, Jul 19, 2011 at 06:09:00PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> From: Sascha Hauer <s.hauer at pengutronix.de>
> 
> Add a helper function for boards to register their memory
> devices. This makes the board code smaller and also helps
> getting rid of map_base and struct memory_platform_data.
> 
> And switch all of the memory to it
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---

> diff --git a/common/Makefile b/common/Makefile
> index 9fed2ae..27aebae 100644
> --- a/common/Makefile
> +++ b/common/Makefile
> @@ -9,6 +9,7 @@ obj-$(CONFIG_POLLER)		+= poller.o
>  obj-$(CONFIG_BLOCK)		+= block.o
>  
>  obj-y += memory.o
> +obj-y += mem.o

Seems you forgot to git add common/mem.c.

I think the previous patch can be squashed into this one. Other than
that the series looks good.

Thanks
 Sascha

-- 
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