]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Detect incorrectly aligned GPMC base address
authorJon Hunter <jon-hunter@ti.com>
Wed, 6 Mar 2013 18:00:10 +0000 (12:00 -0600)
committerJon Hunter <jon-hunter@ti.com>
Thu, 4 Apr 2013 01:13:39 +0000 (20:13 -0500)
commit12eef9ec2fe64047a4578a093ed3e01ec8763071
tree0e7307933173ecd17a19b7a671729885a4d14bd9
parented4ebe19f64ac7e1a689a022d8abc4678d6734ed
ARM: OMAP2+: Detect incorrectly aligned GPMC base address

Each GPMC chip-select can be configured to map 16MB, 32MB, 64MB or 128MB
of address space. The physical base address where a chip-select starts
is also configurable and must be aligned on a boundary that is equal to
or greater than the size of the address space mapped bt the chip-select.
When enabling a GPMC chip-select, ensure that the base address is aligned
to the appropriate boundary.

Reported-by: Mark Jackson <mpfj-list@mimc.co.uk>
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
arch/arm/mach-omap2/gpmc.c