git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bd76a0
)
omap5_uevm: don't call tca642x_set_inital_state() if CONFIG_TCA642X is not configured
author
H. Nikolaus Schaller
<hns@goldelico.com>
Sat, 12 Dec 2015 21:56:15 +0000
(22:56 +0100)
committer
notaz
<notasas@gmail.com>
Sun, 14 Aug 2016 13:07:57 +0000
(16:07 +0300)
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
board/ti/omap5_uevm/evm.c
patch
|
blob
|
history
diff --git
a/board/ti/omap5_uevm/evm.c
b/board/ti/omap5_uevm/evm.c
index
50da410
..
1c13124
100644
(file)
--- a/
board/ti/omap5_uevm/evm.c
+++ b/
board/ti/omap5_uevm/evm.c
@@
-140,9
+140,9
@@
int board_init(void)
gpmc_init();
gd->bd->bi_arch_number = MACH_TYPE_OMAP5_SEVM;
gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */
-
+#if defined(CONFIG_TCA642X)
tca642x_set_inital_state(CONFIG_SYS_I2C_TCA642X_ADDR, tca642x_init);
-
+#endif
return 0;
}