[U-Boot] [PATCH 08/10] ZOOM2 Add led support.

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Apr 24 23:35:42 CEST 2009


> +#include <status_led.h>
> +#endif
>  #include <asm/io.h>
>  #include <asm/arch/mem.h>
>  #include <asm/arch/mux.h>
> @@ -78,7 +81,6 @@ int board_init (void)
>  #if defined(CONFIG_STATUS_LED) && defined(STATUS_LED_BOOT)
>  	status_led_set (STATUS_LED_BOOT, STATUS_LED_ON);
>  #endif
> -
>  	return 0;
>  }
>  
> diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h
> index 8f09dd8..459b994 100644
> --- a/include/configs/omap3_zoom2.h
> +++ b/include/configs/omap3_zoom2.h
> @@ -93,6 +93,22 @@
>  #define CONFIG_OMAP3_MMC		1
>  #define CONFIG_DOS_PARTITION		1
>  
> +/* Status LED */
> +#define CONFIG_STATUS_LED               1 /* Status LED enabled	*/
			    ^^^^^^^^^^^^^^^
please use tab not space and so on

Best Regards,
J.


More information about the U-Boot mailing list