[U-Boot] [PATCH v2 5/5] board: ti: beagleboneai: enable in am57xx_evm_defconfig

Lokesh Vutla lokeshvutla at ti.com
Tue Nov 26 03:25:55 UTC 2019



On 25/11/19 8:26 PM, Caleb Robey wrote:
> Adding the configurations to the evm_defconfig file
> 
> Signed-off-by: Jason Kridner <jdk at ti.com>
> Signed-off-by: Caleb Robey <c-robey at ti.com>

Reviewed-by: Lokesh Vutla <lokeshvutla at ti.com>

Thanks and regards,
Lokesh


> 
> ---
> 
> v2 Changes:
> 	- addition of CONFIG_PREBOOT for console configuration
> 	- removal of changes that hardcoded CONSOLEDEV value
> 
>  configs/am57xx_evm_defconfig  | 3 ++-
>  include/environment/ti/boot.h | 2 ++
>  2 files changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
> index 588e58947d..8823e350f7 100644
> --- a/configs/am57xx_evm_defconfig
> +++ b/configs/am57xx_evm_defconfig
> @@ -16,6 +16,7 @@ CONFIG_SPL_LOAD_FIT=y
>  CONFIG_OF_BOARD_SETUP=y
>  CONFIG_USE_BOOTARGS=y
>  CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board"
> +CONFIG_PREBOOT="if $board_name=am5729_beaglebonai; then setenv console ttyS0,115200; fi;"
>  # CONFIG_USE_BOOTCOMMAND is not set
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
>  # CONFIG_MISC_INIT_R is not set
> @@ -38,7 +39,7 @@ CONFIG_CMD_BCB=y
>  CONFIG_OF_CONTROL=y
>  CONFIG_SPL_OF_CONTROL=y
>  CONFIG_DEFAULT_DEVICE_TREE="am572x-idk"
> -CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am572x-idk am571x-idk am574x-idk"
> +CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am5729-beagleboneai am572x-idk am571x-idk am574x-idk"
>  CONFIG_ENV_IS_IN_MMC=y
>  CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>  CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
> diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
> index 684a744f31..6313f3e328 100644
> --- a/include/environment/ti/boot.h
> +++ b/include/environment/ti/boot.h
> @@ -185,6 +185,8 @@
>  			"setenv fdtfile am57xx-beagle-x15-revb1.dtb; fi;" \
>  		"if test $board_name = beagle_x15_revc; then " \
>  			"setenv fdtfile am57xx-beagle-x15-revc.dtb; fi;" \
> +		"if test $board_name = am5729_beagleboneai; then " \
> +			"setenv fdtfile am5729-beagleboneai.dtb; fi;" \
>  		"if test $board_name = am572x_idk; then " \
>  			"setenv fdtfile am572x-idk.dtb; fi;" \
>  		"if test $board_name = am574x_idk; then " \
> 


More information about the U-Boot mailing list