mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
sh: dma: Collect up CHCR of SH7723 and SH7730
CHCR of SH7723 and SH7730 is constitution same as SH7724. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
92072452f4
commit
9cdb81c7fa
@ -16,14 +16,15 @@
|
|||||||
|
|
||||||
#define DMAOR_INIT DMAOR_DME
|
#define DMAOR_INIT DMAOR_DME
|
||||||
|
|
||||||
#if defined(CONFIG_CPU_SUBTYPE_SH7343) || \
|
#if defined(CONFIG_CPU_SUBTYPE_SH7343)
|
||||||
defined(CONFIG_CPU_SUBTYPE_SH7730)
|
|
||||||
#define CHCR_TS_LOW_MASK 0x00000018
|
#define CHCR_TS_LOW_MASK 0x00000018
|
||||||
#define CHCR_TS_LOW_SHIFT 3
|
#define CHCR_TS_LOW_SHIFT 3
|
||||||
#define CHCR_TS_HIGH_MASK 0
|
#define CHCR_TS_HIGH_MASK 0
|
||||||
#define CHCR_TS_HIGH_SHIFT 0
|
#define CHCR_TS_HIGH_SHIFT 0
|
||||||
#elif defined(CONFIG_CPU_SUBTYPE_SH7722) || \
|
#elif defined(CONFIG_CPU_SUBTYPE_SH7722) || \
|
||||||
|
defined(CONFIG_CPU_SUBTYPE_SH7723) || \
|
||||||
defined(CONFIG_CPU_SUBTYPE_SH7724) || \
|
defined(CONFIG_CPU_SUBTYPE_SH7724) || \
|
||||||
|
defined(CONFIG_CPU_SUBTYPE_SH7730) || \
|
||||||
defined(CONFIG_CPU_SUBTYPE_SH7786)
|
defined(CONFIG_CPU_SUBTYPE_SH7786)
|
||||||
#define CHCR_TS_LOW_MASK 0x00000018
|
#define CHCR_TS_LOW_MASK 0x00000018
|
||||||
#define CHCR_TS_LOW_SHIFT 3
|
#define CHCR_TS_LOW_SHIFT 3
|
||||||
@ -35,11 +36,6 @@
|
|||||||
#define CHCR_TS_LOW_SHIFT 3
|
#define CHCR_TS_LOW_SHIFT 3
|
||||||
#define CHCR_TS_HIGH_MASK 0
|
#define CHCR_TS_HIGH_MASK 0
|
||||||
#define CHCR_TS_HIGH_SHIFT 0
|
#define CHCR_TS_HIGH_SHIFT 0
|
||||||
#elif defined(CONFIG_CPU_SUBTYPE_SH7723)
|
|
||||||
#define CHCR_TS_LOW_MASK 0x00000018
|
|
||||||
#define CHCR_TS_LOW_SHIFT 3
|
|
||||||
#define CHCR_TS_HIGH_MASK 0
|
|
||||||
#define CHCR_TS_HIGH_SHIFT 0
|
|
||||||
#elif defined(CONFIG_CPU_SUBTYPE_SH7757)
|
#elif defined(CONFIG_CPU_SUBTYPE_SH7757)
|
||||||
#define CHCR_TS_LOW_MASK 0x00000018
|
#define CHCR_TS_LOW_MASK 0x00000018
|
||||||
#define CHCR_TS_LOW_SHIFT 3
|
#define CHCR_TS_LOW_SHIFT 3
|
||||||
|
Loading…
Reference in New Issue
Block a user