From: Wolfgang Denk Date: Mon, 12 Dec 2011 08:17:21 +0100 Subject: [U-Boot] [PATCH] mpc5200: digsy_mtc: Fix extension board detection In-Reply-To: <1323273955-8557-1-git-send-email-agust@denx.de> References: <1323273955-8557-1-git-send-email-agust@denx.de> Message-ID: <20111212071721.CE987183AA35@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Anatolij Gustschin, In message <1323273955-8557-1-git-send-email-agust@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 > --- > 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