[PATCH] OMAP3430-SDP: Compile fixes

Sascha Hauer s.hauer at pengutronix.de
Fri Dec 11 04:33:36 EST 2009


On Wed, Dec 09, 2009 at 03:04:41PM +0530, Anand Gadiyar wrote:
> Signed-off-by: Anand Gadiyar <gadiyar at ti.com>
> ---
> Sascha,
> 
> this is needed on top of the 16 patch series you just posted
> to get 3430 SDP to compile

ok, applied.

Sascha

> 
> diff --git a/board/omap/board-sdp343x.c b/board/omap/board-sdp343x.c
> index caf2108..0841df0 100644
> --- a/board/omap/board-sdp343x.c
> +++ b/board/omap/board-sdp343x.c
> @@ -48,6 +48,7 @@
>  #include <driver.h>
>  #include <asm/io.h>
>  #include <ns16550.h>
> +#include <asm/armlinux.h>
>  #include <mach/silicon.h>
>  #include <mach/sdrc.h>
>  #include <mach/sys_info.h>
> @@ -646,20 +647,6 @@ struct device_d sdram_dev = {
>  	.platform_data = &ram_pdata,
>  };
>  
> -/*------------------------- RAM Devices -------------------------------------*/
> -#ifndef CONFIG_CMD_MEMORY
> -
> -static struct driver_d ram_drv = {
> -	.name = "ram",
> -	.probe = dummy_probe,
> -	.open  = dev_open_default,
> -	.close = dev_close_default,
> -	.read = mem_read,
> -	.write = mem_write,
> -	.lseek  = dev_lseek_default,
> -};
> -#endif
> -
>  /*-----------------------Generic Devices Initialization ---------------------*/
>  
>  static int sdp3430_devices_init(void)
> @@ -668,11 +655,6 @@ static int sdp3430_devices_init(void)
>  	ret = register_device(&sdram_dev);
>  	if (ret)
>  		goto failed;
> -#ifndef CONFIG_CMD_MEMORY
> -	ret = register_driver(&ram_drv);
> -	if (ret)
> -		goto failed;
> -#endif
>  	ret = sdp3430_flash_init();
>  	if (ret)
>  		goto failed;
> 
> _______________________________________________
> u-boot-v2 mailing list
> u-boot-v2 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/u-boot-v2
> 

-- 
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 u-boot-v2 mailing list