From fec30cc977b5a75efb81fc12e9ef9610d0502a14 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Mon, 21 Nov 2011 20:04:46 +0200 Subject: [PATCH] Do i2c init before serial init pandora needs this to power the level shifter so that serial output can be seen. Signed-off-by: Grazvydas Ignotas --- lib/board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/board.c b/lib/board.c index a5b45b8..1c79d58 100644 --- a/lib/board.c +++ b/lib/board.c @@ -59,15 +59,15 @@ typedef int (init_fnc_t) (void); init_fnc_t *init_sequence[] = { cpu_init, /* basic cpu dependent setup */ +#ifdef CONFIG_DRIVER_OMAP34XX_I2C + init_func_i2c, +#endif board_init, /* basic board dependent setup */ #ifdef CFG_NS16550_SERIAL serial_init, /* serial communications setup */ #endif print_info, nand_init, /* board specific nand init */ -#ifdef CONFIG_DRIVER_OMAP34XX_I2C - init_func_i2c, -#endif NULL, }; -- 2.39.5