drivers: soc: sunxi: Fix mask generation for SRAM mapping
authorJens Kuske <jenskuske@gmail.com>
Wed, 27 Jan 2016 13:51:13 +0000 (14:51 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 27 Jan 2016 19:29:20 +0000 (20:29 +0100)
commitfebe6569fae4b5e663f0a31d9dbf054d3b588ff5
tree3f150a24986bb67877d36c6bb5a22b4a1037470d
parent2d3e8f70317cc6df93465e51f451d41bad32e010
drivers: soc: sunxi: Fix mask generation for SRAM mapping

GENMASK is inclusive on both ends, therefor one has to be
subtracted from the width.
Also fixes the mask for debug output.

Signed-off-by: Jens Kuske <jenskuske@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/soc/sunxi/sunxi_sram.c
This page took 0.025298 seconds and 5 git commands to generate.