[PATCH] arm: Baltos: don't invoke baltos_read_eeprom in MLO
yegorslists at googlemail.com
yegorslists at googlemail.com
Thu Oct 20 04:00:48 PDT 2016
From: Yegor Yefremov <yegorslists at googlemail.com>
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 at googlemail.com>
---
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
More information about the barebox
mailing list