linux/arch/sh/boards
Masahiro Yamada 3ca1507b5b sh: kfr2r09: use MMC_CAP2_NO_WRITE_PROTECT instead of TMIO own flag
TMIO_MMC_WRPROTECT_DISABLE is equivalent to MMC_CAP2_NO_WRITE_PROTECT.

The flag is propagated as follows:
    tmio_mmc_data::capabilities2 -> mmc_host::caps2

Only the difference is the TMIO_... makes tmio_mmc_get_ro() return 0
(i.e. it does not affect mmc_gpio_get_ro() at all), while MMC_CAP2_...
returns 0 before calling ->get_ro() hook (i.e. it affects both IP own
logic and GPIO detection).

The TMIO MMC drivers do not set-up gpio_ro by themselves, so gpio_ro
is obviously unused by legacy boards like this.  So, this conversion
should be safe.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2018-03-05 09:08:51 +01:00
..
mach-ap325rxa mmc: sh_mobile_sdhi: remove obsolete include file 2016-05-02 10:36:04 +02:00
mach-cayman sh: cayman: IDE support fix 2017-03-09 17:01:10 -08:00
mach-dreamcast sh: dreamcast: Migrate off of deprecated dynamic IRQ API. 2012-05-18 23:36:44 +09:00
mach-ecovec24 sh_eth: remove sh_eth_plat_data::edmac_endian 2018-01-08 14:10:33 -05:00
mach-highlander License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-hp6xx sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-kfr2r09 sh: kfr2r09: use MMC_CAP2_NO_WRITE_PROTECT instead of TMIO own flag 2018-03-05 09:08:51 +01:00
mach-landisk Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
mach-lboxre2 sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-microdev sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-migor License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-r2d License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-rsk License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-sdk7780 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-sdk7786 sh: sdk7786-gpio: switch to gpiochip_add_data() 2016-03-30 10:53:44 +02:00
mach-se Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-01-11 22:13:42 -05:00
mach-sh03 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-sh7763rdp sh_eth: remove sh_eth_plat_data::edmac_endian 2018-01-08 14:10:33 -05:00
mach-x3proto sh: x3proto-gpio: switch to gpiochip_add_data() 2016-03-30 10:53:51 +02:00
board-apsh4a3a.c sh: add fixed voltage regulators to apsh4a3a 2012-06-28 18:00:46 +09:00
board-apsh4ad0a.c sh: add fixed voltage regulators to apsh4ad0a 2012-06-28 18:00:47 +09:00
board-edosk7705.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-edosk7760.c sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
board-espt.c sh_eth: remove sh_eth_plat_data::edmac_endian 2018-01-08 14:10:33 -05:00
board-magicpanelr2.c sh: add fixed voltage regulators to magicpanelr2 2012-06-28 18:00:48 +09:00
board-polaris.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-secureedge5410.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-sh2007.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-sh7757lcr.c sh_eth: remove sh_eth_plat_data::edmac_endian 2018-01-08 14:10:33 -05:00
board-sh7785lcr.c sh: sh7785lcr evt2irq migration. 2012-05-18 15:42:07 +09:00
board-shmin.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-titan.c sh: mach-titan: Kill off unused PIO port mangling. 2010-01-28 15:08:21 +09:00
board-urquell.c sh: urquell evt2irq migration. 2012-05-18 15:43:48 +09:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
of-generic.c clocksource/drivers: Rename clocksource_probe to timer_probe 2017-06-14 11:59:16 +02:00