bHi Heiko, On Mon, Nov 18, 2013 at 3:49 PM, Heiko Schocher <h...@denx.de> wrote: > Hello Sonic Zhang, > > Am 18.11.2013 08:12, schrieb Sonic Zhang: > >> From: Sonic Zhang<sonic.zh...@analog.com> >> >> Signed-off-by: Sonic Zhang<sonic.zh...@analog.com> >> --- >> include/configs/bf533-stamp.h | 48 >> +++++-------------------------------------- >> 1 file changed, 5 insertions(+), 43 deletions(-) >> >> diff --git a/include/configs/bf533-stamp.h b/include/configs/bf533-stamp.h >> index a22c868..26a140e 100644 >> --- a/include/configs/bf533-stamp.h >> +++ b/include/configs/bf533-stamp.h >> @@ -14,6 +14,7 @@ >> #define CONFIG_BFIN_CPU bf533-0.3 >> #define CONFIG_BFIN_BOOT_MODE BFIN_BOOT_BYPASS >> >> + > > > Not needed, please remove. > > >> /* >> * Clock Settings >> * CCLK = (CLKIN * VCO_MULT) / CCLK_DIV >> @@ -37,6 +38,7 @@ >> /* Values can range from 1-15 */ >> #define CONFIG_SCLK_DIV 6 /* note: 1.2 boards can >> go faster */ >> >> + > > > Here too... > > >> /* >> * Memory Settings >> */ >> @@ -72,42 +74,6 @@ >> /* #define CONFIG_ETHADDR 02:80:ad:20:31:b8 */ >> >> >> -/* I2C */ >> -#define CONFIG_SYS_I2C >> -#define CONFIG_SYS_I2C_SOFT /* I2C bit-banged */ >> -#define CONFIG_SYS_I2C_SOFT_SPEED 50000 >> -#define CONFIG_SYS_I2C_SOFT_SLAVE 0 > > > Why do you remove the soft i2c driver?
You should access GPIO register such via macro bfin_read_XXX other than macro pFIO_XXX directly. So do the macro PFX. They don't exist in head files and cause building failure. I missed these code are from your patch "soft-i2c: switch to new multibus/multiadapter support". I will try to send a new fix. Regards, Sonic Zhang _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot