memory: omap-gpmc: Prevent mapping into 1st 16MB
authorRoger Quadros <rogerq@ti.com>
Thu, 9 Jul 2015 14:31:45 +0000 (17:31 +0300)
committerRoger Quadros <rogerq@ti.com>
Fri, 15 Apr 2016 08:53:54 +0000 (11:53 +0300)
commitbdd7e033fe4cc3836b141b75119a4a975a64d9bc
tree192c9aa7566f621f0d6dacf9346b5d57640aa8ae
parent51735caad3db6237fa9d31a2ce8b54cbd42ff6f0
memory: omap-gpmc: Prevent mapping into 1st 16MB

We have been preventing mapping GPMC children in the
first 1MB but really it has to be the first 16MB as
the minimum GPMC partition size is 16MB.

Also print an error message if CS mapping fails
due to DT requesting address outside the GPMC
map.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
drivers/memory/omap-gpmc.c