commit | 02ab0970b3ae7b2d535a1231ad259e3114d09772 | [log] [tgz] |
---|---|---|
author | Anatolij Gustschin <agust@denx.de> | Wed Dec 07 06:05:55 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Mon Dec 12 08:17:05 2011 +0100 |
tree | 7917eae245a8871c19e8af7367f57239e5215ce0 | |
parent | b2eb7d9bc6032e16b7dd898f7c0ea654f63b61db [diff] |
mpc5200: digsy_mtc: Fix extension board detection Switch to extension board detection using pci_find_device() instead of detecting by i2c access to EEPROM device on extension board. This is a cleaner detection method since EEPROM addresses can be different on different board revisions. This also avoids "i2c_read: failed to address chip" error messages in the boot log on boards without extension board which may confuse users. Signed-off-by: Anatolij Gustschin <agust@denx.de>