diff options
| author | Kouei Abe <[email protected]> | 2017-05-13 15:51:16 +0200 |
|---|---|---|
| committer | Jaehoon Chung <[email protected]> | 2017-06-09 20:25:16 +0900 |
| commit | 5eada1dbd0b6c568c3130c567d276dddf4f716bf (patch) | |
| tree | 05a07a3b5cf66a506ad0a881b59b94f548b2689e /arch | |
| parent | 3ebc62c987f000f33aa69231e24719547790264a (diff) | |
mmc: sh_sdhi: Add 64-bit access to sd_buf support
Renesas SDHI SD/MMC driver has 16-bit width bus access to SD_BUF.
This adds 64-bit width bus access to SD_BUF.
Signed-off-by: Kouei Abe <[email protected]>
Cc: Hiroyuki Yokoyama <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Reviewed-by: Nobuhiro Iwamatsu <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/mach-rmobile/include/mach/sh_sdhi.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-rmobile/include/mach/sh_sdhi.h b/arch/arm/mach-rmobile/include/mach/sh_sdhi.h index 057bf3f8bbf..a5ea45b7076 100644 --- a/arch/arm/mach-rmobile/include/mach/sh_sdhi.h +++ b/arch/arm/mach-rmobile/include/mach/sh_sdhi.h @@ -1,9 +1,9 @@ /* * drivers/mmc/sh-sdhi.h * - * SD/MMC driver for Reneas rmobile ARM SoCs + * SD/MMC driver for Renesas rmobile ARM SoCs * - * Copyright (C) 2013-2014 Renesas Electronics Corporation + * Copyright (C) 2013-2017 Renesas Electronics Corporation * Copyright (C) 2008-2009 Renesas Solutions Corp. * * SPDX-License-Identifier: GPL-2.0 @@ -162,7 +162,9 @@ #define CLKDEV_INIT 400000 /* 100 - 400 KHz */ /* For quirk */ -#define SH_SDHI_QUIRK_16BIT_BUF (1) +#define SH_SDHI_QUIRK_16BIT_BUF BIT(0) +#define SH_SDHI_QUIRK_64BIT_BUF BIT(1) + int sh_sdhi_init(unsigned long addr, int ch, unsigned long quirks); #endif /* _SH_SDHI_H */ |
