[U-Boot] [PATCH 3/4] GCC4.6: Squash GTREADREG related errors

Wolfgang Denk wd at denx.de
Fri Oct 28 00:02:36 CEST 2011


Dear Marek Vasut,

In message <1319535660-20881-4-git-send-email-marek.vasut at gmail.com> you wrote:
> interrupts.c: In function 'interrupt_init_cpu':
> interrupts.c:37: warning: implicit declaration of function 'GTREGREAD'
> interrupts.c:37: error: 'LOW_INTERRUPT_CAUSE_REGISTER' undeclared (first use in
> this function)
> interrupts.c:37: error: (Each undeclared identifier is reported only once
> interrupts.c:37: error: for each function it appears in.)
> interrupts.c:37: error: 'HIGH_INTERRUPT_CAUSE_REGISTER' undeclared (first use in
> this function)
> interrupts.c:40: error: 'ETHERNET0_INTERRUPT_CAUSE_REGISTER' undeclared (first
> use in this function)
> interrupts.c:40: error: 'ETHERNET1_INTERRUPT_CAUSE_REGISTER' undeclared (first
> use in this function)
> interrupts.c:40: error: 'ETHERNET2_INTERRUPT_CAUSE_REGISTER' undeclared (first
> use in this function)
> interrupts.c:44: error: 'ETHERNET0_INTERRUPT_MASK_REGISTER' undeclared (first
> use in this function)
> interrupts.c:44: error: 'ETHERNET1_INTERRUPT_MASK_REGISTER' undeclared (first
> use in this function)
> interrupts.c:44: error: 'ETHERNET2_INTERRUPT_MASK_REGISTER' undeclared (first
> use in this function)
> 
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Mike Frysinger <vapier at gentoo.org>
> ---
>  include/configs/PCIPPC2.h     |    4 ++++
>  include/configs/PCIPPC6.h     |    4 ++++
>  include/configs/mpc7448hpc2.h |    4 ++++
>  include/configs/p3mx.h        |    4 ++++
>  include/configs/ppmc7xx.h     |    4 ++++
>  5 files changed, 20 insertions(+), 0 deletions(-)

Applied, thanks.

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
Women professionals do tend to over-compensate.
	-- Dr. Elizabeth Dehaver, "Where No Man Has Gone Before",
	   stardate 1312.9.


More information about the U-Boot mailing list