[U-Boot] [PATCH] ppc4xx: Corrected EBC register bit definitions

Wolfgang Denk wd at denx.de
Tue Feb 23 23:06:14 CET 2010


Dear "Eugene O'Brien",

In message <8B3930FEA8618C44B48EB06B5D33A06E01CCE3DF at satmail.Advantech.ca> you wrote:
> 
> Corrected the bit field positions of the external master priority low
> and the external master priority high values in the EBC configuration
> register.
> 
> Signed-off-by: Eugene O'Brien <eugene.obrien at advantechamt.com>
> ---
>  include/asm-ppc/ppc4xx-ebc.h |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/include/asm-ppc/ppc4xx-ebc.h b/include/asm-ppc/ppc4xx-ebc.h
> index 9680f70..697a916 100644
> --- a/include/asm-ppc/ppc4xx-ebc.h
> +++ b/include/asm-ppc/ppc4xx-ebc.h
> @@ -143,10 +143,10 @@
>  #define EBC_CFG_EBTC_MASK	PPC_REG_VAL(0, 0x1)
>  #define EBC_CFG_EBTC_HI		PPC_REG_VAL(0, 0x0)
>  #define EBC_CFG_EBTC_DRIVEN	PPC_REG_VAL(0, 0x1)
> -#define EBC_CFG_EMPH_MASK	PPC_REG_VAL(6, 0x3)
> -#define EBC_CFG_EMPH_ENCODE(n)	PPC_REG_VAL(6, (static_cast(u32, n)) &
> 0x3)

Your patch is line-wrapped.

Please use git-send-email to send patches, or fix your mailer
configuration.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
All I ask is a chance to prove that money can't make me happy.


More information about the U-Boot mailing list