public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 02/17] omap24xx_i2c.c: Drop references to CONFIG_OMAP243X
Date: Mon, 15 May 2017 06:13:22 +0200	[thread overview]
Message-ID: <59192AE2.8010101@denx.de> (raw)
In-Reply-To: <1494642810-22796-2-git-send-email-trini@konsulko.com>

Hello Tom,

Am 13.05.2017 um 04:33 schrieb Tom Rini:
> We have nothing defining CONFIG_OMAP243X since we dropped the omap243x
> platforms, drop these tests.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>   drivers/i2c/omap24xx_i2c.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)

as you have delegated this patch to your Patchwork ToDo list:

Acked-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
>
> diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c
> index a23737ab7813..4b8397a890d6 100644
> --- a/drivers/i2c/omap24xx_i2c.c
> +++ b/drivers/i2c/omap24xx_i2c.c
> @@ -122,7 +122,7 @@ static int wait_for_bb(struct i2c *i2c_base, int waitdelay)
>   	u16 stat;
>
>   	writew(0xFFFF, &i2c_base->stat);	/* clear current interrupts...*/
> -#if defined(CONFIG_OMAP243X) || defined(CONFIG_OMAP34XX)
> +#if defined(CONFIG_OMAP34XX)
>   	while ((stat = readw(&i2c_base->stat) & I2C_STAT_BB) && timeout--) {
>   #else
>   	/* Read RAW status */
> @@ -153,7 +153,7 @@ static u16 wait_for_event(struct i2c *i2c_base, int waitdelay)
>
>   	do {
>   		udelay(waitdelay);
> -#if defined(CONFIG_OMAP243X) || defined(CONFIG_OMAP34XX)
> +#if defined(CONFIG_OMAP34XX)
>   		status = readw(&i2c_base->stat);
>   #else
>   		/* Read RAW status */
> @@ -338,7 +338,7 @@ retry:
>   	/* own address */
>   	writew(slaveadd, &i2c_base->oa);
>
> -#if defined(CONFIG_OMAP243X) || defined(CONFIG_OMAP34XX)
> +#if defined(CONFIG_OMAP34XX)
>   	/*
>   	 * Have to enable interrupts for OMAP2/3, these IPs don't have
>   	 * an 'irqstatus_raw' register and we shall have to poll 'stat'
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2017-05-15  4:13 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-13  2:33 [U-Boot] [PATCH 01/17] arch/arm/cpu/arm926ejs/omap: Remove Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 02/17] omap24xx_i2c.c: Drop references to CONFIG_OMAP243X Tom Rini
2017-05-15  4:13   ` Heiko Schocher [this message]
2017-05-15 23:18   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 03/17] TI: Drop 'CONFIG_OMAP' Tom Rini
2017-05-15 23:18   ` [U-Boot] [U-Boot,03/17] " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 04/17] omap5: Migrate CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC to Kconfig Tom Rini
2017-05-15 23:18   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 05/17] omap3: Drop CONFIG_OMAP3_EVM, switch to CONFIG_TARGET_OMAP3_EVM when needed Tom Rini
2017-05-15 23:18   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 06/17] omap4: Drop redundant CONFIG_OMAP4430 symbol Tom Rini
2017-05-15 23:18   ` [U-Boot] [U-Boot, " Tom Rini
2017-07-30 17:14   ` [U-Boot] [PATCH " Paul Kocialkowski
2017-05-13  2:33 ` [U-Boot] [PATCH 07/17] omap3: Drop unused CONFIG_OMAP3_xxx board defines Tom Rini
2017-05-15 23:18   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 08/17] gpio: Move OMAP_GPIO to Kconfig Tom Rini
2017-05-15 23:19   ` [U-Boot] [U-Boot,08/17] " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 09/17] omap3: Migrate CONFIG_OMAP3_GPIO_X " Tom Rini
2017-05-15 23:19   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 10/17] omap: spi: Drop CONFIG_OMAP3_SPI_D0_D1_SWAPPED support Tom Rini
2017-05-15 23:19   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 11/17] watchdog: Migrate OMAP_WATCHDOG to Kconfig Tom Rini
2017-05-15 23:19   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 12/17] omap: Drop CONFIG_OMAP_VC_I2C_HS_MCODE Tom Rini
2017-05-15 23:19   ` [U-Boot] [U-Boot,12/17] " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 13/17] whitelist: Drop more unused OMAP symbols Tom Rini
2017-05-15 23:19   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 14/17] Kconfig: USB: Migrate CONFIG_USB_EHCI to CONFIG_USB_EHCI_HCD Tom Rini
2017-05-13 10:47   ` Marek Vasut
2017-05-15 23:19   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 15/17] Kconfig: USB: Migrate CONFIG_USB_EHCI_HCD users to Kconfig Tom Rini
2017-05-13 10:49   ` Marek Vasut
2017-05-15 23:19   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 16/17] Kconfig: USB: Migrate existing USB_EHCI_xxx options Tom Rini
2017-05-13 10:50   ` Marek Vasut
2017-05-15 23:20   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-13  2:33 ` [U-Boot] [PATCH 17/17] Kconfig: OMAP: USB: Migrate CONFIG_USB_EHCI_OMAP to Kconfig Tom Rini
2017-05-13 10:51   ` Marek Vasut
2017-05-13 15:12     ` Tom Rini
2017-05-15 23:20   ` [U-Boot] [U-Boot, " Tom Rini
2017-05-15 23:18 ` [U-Boot] [U-Boot,01/17] arch/arm/cpu/arm926ejs/omap: Remove 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=59192AE2.8010101@denx.de \
    --to=hs@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