[U-Boot] [PATCH 1/5] arm: am57xx: cl-som-am57x: add initial board support

Tom Rini trini at konsulko.com
Thu Dec 1 16:36:23 CET 2016


On Thu, Dec 01, 2016 at 10:28:12AM +0200, Uri Mashiach wrote:

> From: Dmitry Lifshitz <lifshitz at compulab.co.il>
> 
> Features supported :
> 
> * Serial console
> * SPI Flash
> * MMC/SD Card
> * eMMC storage
> * SATA
> * PCA9555 - GPIO expander over I2C5 bus
> * USB
> 
> Signed-off-by: Dmitry Lifshitz <lifshitz at compulab.co.il>
> [uri.mashiach at compulab.co.il: Adjust to v2016.11]
> Signed-off-by: Uri Mashiach <uri.mashiach at compulab.co.il>
> Acked-by: Igor Grinberg <grinberg at compulab.co.il>

In general:

Reviewed-by: Tom Rini <trini at konsulko.com>

[snip]
> +/* Status LED */
> +#define CONFIG_STATUS_LED		/* Status LED enabled */
> +#define CONFIG_GPIO_LED
> +#define CONFIG_BOARD_SPECIFIC_LED
> +#define GREEN_LED_DEV			0
> +					/* cl_som_am57x Green LED is GPIO2_5 */
> +#define GREEN_LED_GPIO			37
> +#define STATUS_LED_BIT			GREEN_LED_GPIO
> +#define STATUS_LED_STATE		STATUS_LED_ON
> +#define STATUS_LED_PERIOD		(CONFIG_SYS_HZ / 2)

Do you have time to look at moving CONFIG_STATUS_LED and related defines
to Kconfig (or where makes more sense, include/status_led.h) ?  I see
this is used on a few CompuLab boards so you'd be able to test the
changes as well, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161201/f49c7542/attachment.sig>


More information about the U-Boot mailing list