commit | 5480240890fb85b288d72f6e7c194bcccb1a4f22 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Thu Jan 31 16:31:01 2019 +0100 |
committer | Heiko Schocher <hs@denx.de> | Mon Feb 11 09:37:27 2019 +0100 |
tree | 3cab2784fb68f86dba1f38997c8bb695fbe91fa0 | |
parent | 4247cf474171892573a7b519a242e75652765013 [diff] |
i2c: dm: Record maximum id of devices before probing devices There is a need to find out the first free i2c ID which can be used for i2s buses (including i2c buses connected to i2c mux). Do it early in init and share this variable with other i2c classes for uniq bus identification. add from hs: fix build problem in i2c-uclass.c for omap devices Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de>