Bill Richardson
57aaa0267e
cleanup: Replace awkward I2C_PORTS_USED macro with constant
...
We only used I2C_PORTS_USED to iterate through the list of hardware ports
actually in use, but we defined it in board.h at the same place where we
matched particular I2C devices to the (possibly shared) buses they're on.
This CL makes I2C_PORTS_USED into a global constant, so it can be set
automatically where we initialize the ports, and doesn't have to be
related to the list of attached devices.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=manual
Build everything, run all tests, should still work.
Change-Id: I65f22f5cadfc4b3afe51af48faa5fb369bc3aa09
Signed-off-by: Bill Richardson <wfrichar@chromium.org >
Reviewed-on: https://chromium-review.googlesource.com/171884
2013-10-07 16:20:59 +00:00
..
2013-04-30 10:38:43 -07:00
2013-09-27 23:07:21 +00:00
2013-08-09 11:19:03 -07:00
2013-09-05 07:20:18 +00:00
2013-04-05 14:28:42 -07:00
2013-08-02 12:16:43 -07:00
2013-08-30 15:39:31 +00:00
2013-06-07 10:52:11 -07:00
2013-07-03 16:02:24 -07:00
2012-05-25 09:59:58 -07:00
2013-07-19 10:58:18 -07:00
2013-09-05 07:20:13 +00:00
2012-11-01 12:45:22 -07:00
2013-09-23 21:26:29 +00:00
2013-09-23 21:26:29 +00:00
2013-09-23 21:26:29 +00:00
2013-09-23 21:26:29 +00:00
2013-09-05 03:10:09 +00:00
2013-08-07 17:24:09 -07:00
2013-04-29 11:05:08 -07:00
2013-10-04 01:54:46 +00:00
2013-09-14 18:30:43 +00:00
2013-09-10 23:46:07 +00:00
2013-09-24 23:14:38 +00:00
2011-12-07 19:10:02 +00:00
2012-10-26 09:49:38 -07:00
2013-08-23 10:38:57 -07:00
2013-08-28 01:54:48 +00:00
2013-08-28 01:54:48 +00:00
2013-08-23 10:38:36 -07:00
2013-06-03 14:32:38 -07:00
2013-04-24 00:06:00 -07:00
2013-09-11 19:45:38 +00:00
2013-09-06 19:16:23 +00:00
2013-10-02 01:24:40 +00:00
2013-07-24 15:50:19 -07:00
2013-06-26 09:08:23 -07:00
2013-03-20 15:23:29 -07:00
2013-10-07 16:20:59 +00:00
2012-11-04 20:27:57 -08:00
2012-10-30 12:42:46 -07:00
2013-04-25 17:03:18 -07:00
2013-06-18 10:31:09 -07:00
2013-03-27 11:35:20 -07:00
2013-03-27 11:35:20 -07:00
2013-04-24 16:32:58 -07:00
2013-04-24 16:32:58 -07:00
2013-03-22 11:24:29 -07:00
2013-08-07 12:43:48 -07:00
2013-04-02 14:12:57 -07:00
2012-04-26 13:57:19 -07:00
2012-09-11 09:46:16 -07:00
2013-09-17 03:22:12 +00:00
2013-07-15 14:11:13 -07:00
2012-11-04 20:27:57 -08:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:11 -07:00
2013-07-10 11:16:18 -07:00
2012-11-01 12:45:22 -07:00
2013-07-23 11:14:16 -07:00
2012-08-13 14:58:38 -07:00
2013-04-25 17:03:18 -07:00
2013-04-24 16:32:58 -07:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:10 -07:00
2013-08-27 23:20:33 +00:00
2012-06-07 20:48:51 -07:00
2012-10-25 17:03:44 -07:00
2012-08-09 17:40:37 -07:00
2013-09-27 04:33:28 +00:00
2012-09-17 10:10:14 -07:00
2013-07-17 10:49:48 -07:00
2013-07-16 12:06:30 -07:00
2013-05-07 09:09:50 -07:00
2013-07-24 14:05:17 -07:00
2013-08-13 13:07:54 -07:00
2013-08-23 10:38:36 -07:00
2013-09-27 04:33:33 +00:00
2013-08-23 10:38:36 -07:00
2013-09-11 01:49:48 +00:00
2012-10-29 16:52:49 -07:00
2012-11-01 12:45:22 -07:00
2013-06-11 02:25:22 -07:00
2013-09-16 23:31:07 +00:00
2013-05-02 18:10:46 -07:00
2013-09-11 19:45:38 +00:00
2012-12-10 15:14:38 -08:00
2013-07-19 18:01:55 -07:00
2013-06-10 13:59:34 -07:00
2013-07-11 16:51:40 -07:00