]> git.dujemihanovic.xyz Git - u-boot.git/commit
DaVinci: correct MDSTAT.STATE mask
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 23 Sep 2011 04:29:15 +0000 (04:29 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:34 +0000 (21:56 +0200)
commit9e2538e11fc87fb51cfde707fd5ffae086f1b467
tree75cc65e733760507bdbdf2632dad4649d3e4a640
parent53430a4f251eacc32ada54b56258cc18856d0d8e
DaVinci: correct MDSTAT.STATE mask

MDSTAT.STATE occupies bits 0..5 according to all available documentation, so fix
the mask which previously was leaving out the intermediate state indicator bit.

While at it, introduce two #define's for that mask -- unfortunately, we can't
use a single #define as the assembly code can't include <asm/arch/hardware.h>
due to C-specfic constructs in it.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S
arch/arm/cpu/arm926ejs/davinci/psc.c
arch/arm/include/asm/arch-davinci/hardware.h