]> git.sur5r.net Git - u-boot/commit
ti: common: board_detect: Allow settings board detection variables manually
authorNishanth Menon <nm@ti.com>
Fri, 16 Jun 2017 22:25:04 +0000 (17:25 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 10 Jul 2017 17:45:35 +0000 (13:45 -0400)
commite936f997a956dbcd7ccd414770951f981fa586a1
tree6703cc16bb15d3970044205090b2df63f97f2a13
parenta75df9aef0ac642cdaa654ee935a717d3484840d
ti: common: board_detect: Allow settings board detection variables manually

In some situations the EEPROM used for board detection may not be
programmed or simply programmed incorrectly. Therefore, it may be
necessary to "simulate" reading the contents of the EEPROM to set
appropriate variables used in the board detection code.

This may also be helpful in certain boot modes where doing i2c reads
may be costly and the config supports running only a specific board.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Franklin S Cooper Jr. <fcooper@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/common/board_detect.c
board/ti/common/board_detect.h