memory: omap-gpmc: Make 'bank-width' property optional
authorLadislav Michl <ladis@linux-mips.org>
Mon, 6 Nov 2017 10:41:04 +0000 (11:41 +0100)
committerRoger Quadros <rogerq@ti.com>
Fri, 1 Dec 2017 13:37:49 +0000 (15:37 +0200)
commitc18a7ac3398d0cef29749f9568666db8321aa4c9
treeb56110e9d5b56b28c4935f3b222a3335541a5391
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
memory: omap-gpmc: Make 'bank-width' property optional

Error out only if both 'bank-width' and 'gpmc,device-width' are missing.
As 'bank-width' is mostly used for NOR devices and all other devices must
use 'gpmc,device-width' update the error message accordingly.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Roger Quadros <rogerq@ti.com>
drivers/memory/omap-gpmc.c