[U-Boot] [PATCH] mpc5200: digsy_mtc: Fix extension board detection
Wolfgang Denk
wd at denx.de
Mon Dec 12 08:17:21 CET 2011
Dear Anatolij Gustschin,
In message <1323273955-8557-1-git-send-email-agust at denx.de> you wrote:
> 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 at denx.de>
> ---
> board/intercontrol/digsy_mtc/digsy_mtc.c | 15 ++++++++-------
> include/configs/digsy_mtc.h | 7 -------
> 2 files changed, 8 insertions(+), 14 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The one charm of marriage is that it makes a life of deception a
neccessity." - Oscar Wilde
More information about the U-Boot
mailing list