From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 28 Oct 2019 05:40:55 +0100 Subject: [U-Boot] [PATCH v3 011/108] i2c: Tidy up designware PCI support In-Reply-To: <20191021033322.217715-12-sjg@chromium.org> References: <20191021033322.217715-2-sjg@chromium.org> <20191021033322.217715-12-sjg@chromium.org> Message-ID: <172e0787-1e18-5449-44cf-e575c12650a5@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 Hello Simon, Am 21.10.2019 um 05:31 schrieb Simon Glass: > This is hacked into the driver at present. It seems better to have it as > a separate driver that uses the base driver. Create a new file and put > the X86 code into it. > > Actually the Baytrail settings should really come from the device tree. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > drivers/i2c/Makefile | 3 + > drivers/i2c/designware_i2c.c | 104 ++++++----------------------------- > drivers/i2c/designware_i2c.h | 35 ++++++++++++ > drivers/i2c/dw_i2c_pci.c | 78 ++++++++++++++++++++++++++ > 4 files changed, 132 insertions(+), 88 deletions(-) > create mode 100644 drivers/i2c/dw_i2c_pci.c Reviewed-by: Heiko Schocher Thanks! bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de