ARM: i.MX6: esdctl: Fix CS0_end for 4GiB/cs
On i.MX6 a single chipselect can have 4GiB. In this case the calculation
for CS0_end overflows the 7 bit field. Clamp it to 127, the maximum
supported value.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1ff0ffb commit 25ab9fcaf862459650ae052e20527331d3ceefb9
@Sascha Hauer Sascha Hauer authored on 30 Mar 2016
Showing 1 changed file
View
arch/arm/mach-imx/imx6-mmdc.c