omap: emif: deal with rams that return duplicate mr data on all byte lanes
authorSteve Sakoman <steve@sakoman.com>
Wed, 30 May 2012 07:38:07 +0000 (07:38 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:35 +0000 (14:07 +0200)
commit55c1284942b18cf83a297d33c8746aadcbf5f096
treeb6c9e2a272df52fce3ae9b5ce132d9c8a13a2e3d
parent38f25b125e446ab4a64a54e9aa2c10023d8eccc3
omap: emif: deal with rams that return duplicate mr data on all byte lanes

Some rams (Micron for example) return duplicate mr data on all byte lanes.

Users of the get_mr function currently don't deal with this duplicated
data gracefully.  This patch detects the duplicated data and returns only
the expected 8 bit mr data.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
arch/arm/cpu/armv7/omap-common/emif-common.c