public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] arm: spear: Disable I2C designware enable status reg check
Date: Wed, 27 Apr 2016 09:10:44 +0200	[thread overview]
Message-ID: <1461741044-30445-3-git-send-email-sr@denx.de> (raw)
In-Reply-To: <1461741044-30445-1-git-send-email-sr@denx.de>

The I2C designware controller doesn't support the enable status register.
This patch disables the check on the SPEAr platforms.

Signed-off-by: Stefan Roese <sr@denx.de>
---
 include/configs/spear-common.h | 1 +
 include/configs/x600.h         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index c4b6234..365ce6e 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -36,6 +36,7 @@
 /* I2C driver configuration */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_DW
+#define CONFIG_SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED
 #if defined(CONFIG_SPEAR600)
 #define CONFIG_SYS_I2C_BASE			0xD0200000
 #elif defined(CONFIG_SPEAR300)
diff --git a/include/configs/x600.h b/include/configs/x600.h
index 160b2c5..ca28fae 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -88,6 +88,7 @@
 /* I2C config options */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_DW
+#define CONFIG_SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED
 #define CONFIG_SYS_I2C_BASE			0xD0200000
 #define CONFIG_SYS_I2C_SPEED			400000
 #define CONFIG_SYS_I2C_SLAVE			0x02
-- 
2.8.1

  parent reply	other threads:[~2016-04-27  7:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27  7:10 [U-Boot] [PATCH 1/3] arm: spear: x600: Add support for Micrel KSZ9031 PHY Stefan Roese
2016-04-27  7:10 ` [U-Boot] [PATCH 2/3] arm: spear: x600: Remove EFI support to reduce image size Stefan Roese
2016-05-31  5:57   ` Stefan Roese
2016-04-27  7:10 ` Stefan Roese [this message]
2016-05-31  5:56 ` [U-Boot] [PATCH 1/3] arm: spear: x600: Add support for Micrel KSZ9031 PHY Stefan Roese

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=1461741044-30445-3-git-send-email-sr@denx.de \
    --to=sr@denx.de \
    --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