[U-Boot] [PATCH V5 7/7] board: ti: AM57xx: Add detection logic for AM57xx-evm

Lokesh Vutla a0131933 at ti.com
Thu Feb 25 08:06:31 CET 2016


[..snip..]

> diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
> index 6308cab8e680..1fffdb18fbcd 100644
> --- a/include/configs/am57xx_evm.h
> +++ b/include/configs/am57xx_evm.h
> @@ -88,4 +88,8 @@
>   #define CONFIG_SYS_SCSI_MAX_DEVICE	(CONFIG_SYS_SCSI_MAX_SCSI_ID * \
>   						CONFIG_SYS_SCSI_MAX_LUN)
>
> +/* EEPROM */
> +#define CONFIG_EEPROM_CHIP_ADDRESS 0x50
> +#define CONFIG_EEPROM_BUS_ADDRESS 0
> +
>   #endif /* __CONFIG_AM57XX_EVM_H */
> diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
> index d164e6abd450..d373cbc44a16 100644
> --- a/include/configs/ti_omap5_common.h
> +++ b/include/configs/ti_omap5_common.h
> @@ -117,6 +117,8 @@
>   			"setenv fdtfile dra72-evm.dtb; fi;" \
>   		"if test $board_name = beagle_x15; then " \
>   			"setenv fdtfile am57xx-beagle-x15.dtb; fi;" \
> +		"if test $board_name = am57xx_evm; then " \
> +			"setenv fdtfile am57xx-beagle-x15.dtb; fi;" \

Is it the same dtb file for am57xx_evm as well? or is this intentional
and will be updated later?

Thanks and regards,
Lokesh


>   		"if test $fdtfile = undefined; then " \
>   			"echo WARNING: Could not determine device tree to use; fi; \0" \
>   	"loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile};\0" \
>


More information about the U-Boot mailing list