summaryrefslogtreecommitdiff
path: root/common/board_info.c
diff options
context:
space:
mode:
authorLiam Beguin <lbeguin@tycoint.com>2017-03-14 18:24:45 +0300
committerHeiko Schocher <hs@denx.de>2017-03-28 07:27:20 +0300
commit0f5b461b9bf028c5ce8fd22e8bd45d8c1234e2fd (patch)
treed75d9493368a2656407e7d7389055387c6dd1013 /common/board_info.c
parentfb057880138447019945a6ab3b88038220226017 (diff)
downloadu-boot-0f5b461b9bf028c5ce8fd22e8bd45d8c1234e2fd.tar.xz
i2c: lpc32xx: Force consistent bus numbering
Normally, this would probably be done by adding devicetree aliases to the main dtsi file for the lpc32xx and using bus->req_seq instead. Since we want to have consistent i2c numbering, we cannot force the bus->req_seq because. If for instance we have 3 buses numbered from 0 to 2 with i2c0 enabled, i2c1 disabled and i2c2 enabled; i2c2 can be selected using 'i2c dev 1' and 'i2c dev 2' commands because a bus can be probed using req_seq or seq interchangeably. Signed-off-by: Liam Beguin <lbeguin@tycoint.com> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
Diffstat (limited to 'common/board_info.c')
0 files changed, 0 insertions, 0 deletions