mtd: rawnand: omap_gpmc: Deprecate asm/arch/mem.h
authorRoger Quadros <rogerq@kernel.org>
Tue, 11 Oct 2022 11:49:59 +0000 (14:49 +0300)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Sat, 10 Dec 2022 10:11:25 +0000 (11:11 +0100)
commitc6bafdae50f2f55fd09dd46375c918a5b96328c5
tree31a486ebdcf0f0a81ff131c0401461902d9e2207
parent308bd746639a7d144a9cf563ac7449312841386d
mtd: rawnand: omap_gpmc: Deprecate asm/arch/mem.h

We want to get rid of <asm/arch/mem.h> so don't
enforce it for new platforms.

This also means GPMC_MAX CS doesn't have to be defined
by platform code.

Define it locally here for now.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/all/20221011115012.6181-2-rogerq@kernel.org
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/omap_gpmc.c