ARM: pxa: pcmcia: move smemc configuration back to arch
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 Sep 2019 12:50:37 +0000 (14:50 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 7 May 2022 20:55:49 +0000 (22:55 +0200)
commit6a946f1bd5cc966c9dd377b14efa4cec388101ce
tree9ebe3dad341cbf6cfe68f6cb65e8b9d4fefd1231
parent85c611991255603fef24e374eed3b35175be490b
ARM: pxa: pcmcia: move smemc configuration back to arch

Rather than poking at the smemc registers directly from the
pcmcia/pxa2xx_base driver, move those bits into machine file
to have a cleaner interface.

Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Link: https://lore.kernel.org/lkml/87d0egjzxk.fsf@belgarion.home/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/generic.c
drivers/pcmcia/pxa2xx_base.c
include/linux/soc/pxa/smemc.h [new file with mode: 0644]