board: ti: j721e: Probe eeprom only when CONFIG_TI_I2C_BOARD_DETECT is defined
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 5 Aug 2020 17:14:14 +0000 (22:44 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 11 Aug 2020 15:04:46 +0000 (20:34 +0530)
commitb29a7cd09de3d3265d0d72c42d5e1d47bd095e89
treee023abf621316403c5d3e88c273ff17beeaa4eeb
parent6b889389b6700fe56b191be6b4e31b0db7d1652a
board: ti: j721e: Probe eeprom only when CONFIG_TI_I2C_BOARD_DETECT is defined

Guard all eeprom probe with TI_I2C_BOARD_DETECT to avoid reading eeprom
when eeprom is not available

Reviewed-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
arch/arm/mach-k3/j721e_init.c
board/ti/j721e/evm.c