Re: [PATCH] Remove CPU_SUBTYPE_SH7764
From: Paul Bolle
Date: Wed Jun 18 2014 - 15:08:52 EST
On Wed, 2014-06-18 at 11:32 +0200, Paul Bolle wrote:
> The symbol is an orphan, get rid of it.
>
> Signed-off-by: Richard Weinberger <richard@xxxxxx>
> [pebolle@xxxxxxxxxx: re-added dropped ||]
> Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
> ---
> Submitted by Richard a few months ago as "[PATCH 21/28] Remove
> CPU_SUBTYPE_SH7764".
So I should have sent this with a
From: Richard Weinberger <richard@xxxxxx>
first line. Let's hope Andrew notices it.
Paul Bolle
> Untested.
>
> arch/sh/drivers/dma/Kconfig | 5 ++---
> arch/sh/include/cpu-sh4/cpu/dma-register.h | 1 -
> arch/sh/include/cpu-sh4a/cpu/dma.h | 3 +--
> 3 files changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/arch/sh/drivers/dma/Kconfig b/arch/sh/drivers/dma/Kconfig
> index cfd5b90a8628..78bc97b1d027 100644
> --- a/arch/sh/drivers/dma/Kconfig
> +++ b/arch/sh/drivers/dma/Kconfig
> @@ -12,9 +12,8 @@ config SH_DMA_IRQ_MULTI
> default y if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \
> CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || \
> CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7091 || \
> - CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7764 || \
> - CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
> - CPU_SUBTYPE_SH7760
> + CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7780 || \
> + CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7760
>
> config SH_DMA_API
> depends on SH_DMA
> diff --git a/arch/sh/include/cpu-sh4/cpu/dma-register.h b/arch/sh/include/cpu-sh4/cpu/dma-register.h
> index 02788b6a03b7..9cd81e54056a 100644
> --- a/arch/sh/include/cpu-sh4/cpu/dma-register.h
> +++ b/arch/sh/include/cpu-sh4/cpu/dma-register.h
> @@ -32,7 +32,6 @@
> #define CHCR_TS_HIGH_SHIFT (20 - 2) /* 2 bits for shifted low TS */
> #elif defined(CONFIG_CPU_SUBTYPE_SH7757) || \
> defined(CONFIG_CPU_SUBTYPE_SH7763) || \
> - defined(CONFIG_CPU_SUBTYPE_SH7764) || \
> defined(CONFIG_CPU_SUBTYPE_SH7780) || \
> defined(CONFIG_CPU_SUBTYPE_SH7785)
> #define CHCR_TS_LOW_MASK 0x00000018
> diff --git a/arch/sh/include/cpu-sh4a/cpu/dma.h b/arch/sh/include/cpu-sh4a/cpu/dma.h
> index 89afb650ce25..8ceccceae844 100644
> --- a/arch/sh/include/cpu-sh4a/cpu/dma.h
> +++ b/arch/sh/include/cpu-sh4a/cpu/dma.h
> @@ -14,8 +14,7 @@
> #define DMTE4_IRQ evt2irq(0xb80)
> #define DMAE0_IRQ evt2irq(0xbc0) /* DMA Error IRQ*/
> #define SH_DMAC_BASE0 0xFE008020
> -#elif defined(CONFIG_CPU_SUBTYPE_SH7763) || \
> - defined(CONFIG_CPU_SUBTYPE_SH7764)
> +#elif defined(CONFIG_CPU_SUBTYPE_SH7763)
> #define DMTE0_IRQ evt2irq(0x640)
> #define DMTE4_IRQ evt2irq(0x780)
> #define DMAE0_IRQ evt2irq(0x6c0)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/