[U-Boot] [PATCH v3] DaVinci: correct MDSTAT.STATE mask

Christian Riesch christian.riesch at omicron.at
Thu Oct 13 14:14:09 CEST 2011


Hi,

On Fri, Sep 23, 2011 at 4:29 PM, Sergei Shtylyov
<sshtylyov at ru.mvista.com> wrote:
> 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 at ru.mvista.com>
>
> ---
>  arch/arm/cpu/arm926ejs/davinci/lowlevel_init.S |    8 +++++---
>  arch/arm/cpu/arm926ejs/davinci/psc.c           |    4 ++--
>  arch/arm/include/asm/arch-davinci/hardware.h   |    2 ++
>  3 files changed, 9 insertions(+), 5 deletions(-)

What's the state of this patch? Could this be merged please? Thank you!
Regards, Christian


More information about the U-Boot mailing list