From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> EEPROM information is needed in barebox.bin in order to setup MACs and select appropriate DTB from kernel-fit.itb, so disable this initcall in MLO. Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> --- arch/arm/boards/vscom-baltos/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boards/vscom-baltos/board.c b/arch/arm/boards/vscom-baltos/board.c index dc08ed5..fea992d 100644 --- a/arch/arm/boards/vscom-baltos/board.c +++ b/arch/arm/boards/vscom-baltos/board.c @@ -47,6 +47,7 @@ static struct omap_barebox_part baltos_barebox_part = { .nand_size = 0x1e0000, }; +#ifndef CONFIG_OMAP_BUILD_IFT struct bsp_vs_hwparam { uint32_t Magic; uint32_t HwRev; @@ -111,6 +112,7 @@ static int baltos_read_eeprom(void) return 0; } environment_initcall(baltos_read_eeprom); +#endif static int baltos_devices_init(void) { -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox