board: ti: amx3xx: Remove multiple EEPROM reads
[oweals/u-boot.git] / arch / arm / cpu / armv7 / am33xx / board.c
index 8340b5437a5bd3cd5777d9347da4d255b4f79549..5ebeac0ee1e194775e145deb1921f61df9256ab4 100644 (file)
@@ -288,6 +288,9 @@ void early_system_init(void)
        set_uart_mux_conf();
        setup_early_clocks();
        uart_soft_reset();
+#ifdef CONFIG_TI_I2C_BOARD_DETECT
+       do_board_detect();
+#endif
 #if defined(CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC)
        /* Enable RTC32K clock */
        rtc32k_enable();