From: "Peter Kümmel" <syntheticpp@gmx.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Broken: U-Boot SPL 2016.01
Date: Thu, 14 Jan 2016 22:29:44 +0100 [thread overview]
Message-ID: <56981348.3080703@gmx.net> (raw)
In 2016.01 SPL is broken on an omap board with DM3730:
U-Boot SPL 2016.01-00076-g72128b2 (Jan 14 2016 - 22:07:33)
wrong hwadapnr: 1075903588
The error message comes from drivers/i2c/omap24xx_i2c.c:
static struct i2c *omap24_get_base(struct i2c_adapter *adap)
{
switch (adap->hwadapnr) {
case 0:
return (struct i2c *)I2C_BASE1;
break;
case 1:
return (struct i2c *)I2C_BASE2;
break;
#if (I2C_BUS_MAX > 2)
case 2:
return (struct i2c *)I2C_BASE3;
break;
#if (I2C_BUS_MAX > 3)
case 3:
return (struct i2c *)I2C_BASE4;
break;
#if (I2C_BUS_MAX > 4)
case 4:
return (struct i2c *)I2C_BASE5;
break;
#endif
#endif
#endif
default:
printf("wrong hwadapnr: %d\n", adap->hwadapnr);
break;
}
return NULL;
}
Has anything changed in the I2C configuration for SPL?
Peter
next reply other threads:[~2016-01-14 21:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 21:29 Peter Kümmel [this message]
2016-01-14 21:49 ` [U-Boot] Broken: U-Boot SPL 2016.01 Tom Rini
2016-01-14 23:32 ` Peter Kümmel
2016-01-15 14:53 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56981348.3080703@gmx.net \
--to=syntheticpp@gmx.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox