diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-10-21 14:17:33 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-27 23:54:08 +0200 |
commit | 0aa27657b0ee4d2185d88e2035775d46c6ee5bdc (patch) | |
tree | ce6ee3f9a8a0567e3d11dc8598ca9dff902e4e30 /include/configs/p3mx.h | |
parent | cd7b4e82a2969e3db4f9b7b902191a10661409bd (diff) | |
download | u-boot-imx-0aa27657b0ee4d2185d88e2035775d46c6ee5bdc.zip u-boot-imx-0aa27657b0ee4d2185d88e2035775d46c6ee5bdc.tar.gz u-boot-imx-0aa27657b0ee4d2185d88e2035775d46c6ee5bdc.tar.bz2 |
GCC4.6: Squash GTREADREG related errors
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@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/configs/p3mx.h')
-rw-r--r-- | include/configs/p3mx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/p3mx.h b/include/configs/p3mx.h index 94a6992..e44009e 100644 --- a/include/configs/p3mx.h +++ b/include/configs/p3mx.h @@ -447,4 +447,8 @@ #define L2_ENABLE (L2_INIT | L2CR_L2E) +#ifndef __ASSEMBLY__ +#include <../board/Marvell/include/core.h> +#endif + #endif /* __CONFIG_H */ |