[U-Boot-Users] [PATCH 1/3] ppc4xx: PPC405GPr add missing EIRR register

Stefan Roese sr at denx.de
Mon Feb 4 17:14:27 CET 2008


Hi Niklaus,

On Monday 04 February 2008, Niklaus Giger wrote:
> Signed-off-by: Niklaus Giger <niklaus.giger at netstal.com>

Thanks for splitting this out. But still I have a question. See below.

> ---
>  include/ppc405.h |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/include/ppc405.h b/include/ppc405.h
> index b5ad38f..fbfb681 100644
> --- a/include/ppc405.h
> +++ b/include/ppc405.h
> @@ -784,6 +784,10 @@
>  #define reset   (CNTRL_DCR_BASE+0x3)  /* reset register			     */
>  #define strap   (CNTRL_DCR_BASE+0x4)  /* strap register			     */
>
> +#ifdef CONFIG_405GPr
> +#define eirr    (CNTRL_DCR_BASE+0x6)  /* external interrupt routing
> register */ +#endif
> +

Why is 405GPr needed here? Is this register not available in 405GP?

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================




More information about the U-Boot mailing list