]> git.dujemihanovic.xyz Git - u-boot.git/commit
Orion5x: bugfix: window size (mis)calculation
authorAlbert Aribaud <[albert.aribaud@free.fr]>
Thu, 26 Aug 2010 08:35:19 +0000 (14:05 +0530)
committerPrafulla Wadaskar <prafulla@marvell.com>
Thu, 26 Aug 2010 08:35:19 +0000 (14:05 +0530)
commit4e4479a8922833025a8aac4f33fff9fa1e294ac9
tree3f2b7e4ce5640162fa9f6ae47028bdbfec2ef4f0
parent5549d22b656550d36b2cc46743c7220ab0e9dcc4
Orion5x: bugfix: window size (mis)calculation

Fix orion5x_winctrl_calcsize() off-by-1 bug which caused mapping
windows to be cut by half. This afected all windows including NOR
flash (causing half the flash to be unaccessible) but DRAM was and
still is fine as its size is determined otherwise.

Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
arch/arm/cpu/arm926ejs/orion5x/cpu.c