[U-Boot] [PATCH v2] Add Beaglebone Enhanced support

Marek Vasut marex at denx.de
Thu Jul 19 12:55:37 UTC 2018


On 07/18/2018 10:13 AM, Koen Kooi wrote:
> The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black,
> but with the following differences:
> 
>  * Gigabit capable PHY
>  * Extra USB hub, optional i2c control
>  * lps3331ap barometer connected over i2c
>  * MPU6050 6 axis MEMS accelerometer/gyro connected over i2c
>  * 1GiB DDR3 RAM
>  * RTL8723 Wifi/Bluetooth connected over USB
> 
> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> 
> ---
> 
[...]

> diff --git a/board/ti/am335x/board.h b/board/ti/am335x/board.h
> index 652b10b..48df914 100644
> --- a/board/ti/am335x/board.h
> +++ b/board/ti/am335x/board.h
> @@ -43,9 +43,15 @@ static inline int board_is_bbg1(void)
>  	return board_is_bone_lt() && !strncmp(board_ti_get_rev(), "BBG1", 4);
>  }
>  
> +static inline int board_is_bben(void)

Should be just static int ... the compiler can decide.

> +{
> +	return board_is_bone_lt() && !strncmp(board_ti_get_rev(), "SE", 2);
> +}
[...]

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list