]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
GCC4.6: Squash GTREADREG related errors
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 21 Oct 2011 14:17:33 +0000 (14:17 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:54:08 +0000 (23:54 +0200)
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>
include/configs/PCIPPC2.h
include/configs/PCIPPC6.h
include/configs/mpc7448hpc2.h
include/configs/p3mx.h
include/configs/ppmc7xx.h

index fb485b03ee05ec738f79162d7c1726b382b29970..77cedc06d67690350e17b08d89f4f78124816e22 100644 (file)
 #define CONFIG_PREBOOT         ""
 #define CONFIG_BOOTDELAY       5
 
+#ifndef __ASSEMBLY__
+#include <galileo/core.h>
+#endif
+
 /*
  * BOOTP options
  */
index 16d6450d91664caa7bd7110dfbaab130af4c30ad..a8d20ca920252154bbe18e44189c1663ac589c4c 100644 (file)
 #define CONFIG_PREBOOT         ""
 #define CONFIG_BOOTDELAY       5
 
+#ifndef __ASSEMBLY__
+#include <galileo/core.h>
+#endif
+
 /*
  * BOOTP options
  */
index 61d758e6391d5e3c59361fce65e6d7a877db8710..3e7377511cea5a63d72d6c221aaec16b8af13a32 100644 (file)
 
 #undef  CONFIG_ECC             /* disable ECC support */
 
+#ifndef __ASSEMBLY__
+#include <galileo/core.h>
+#endif
+
 /* Board-specific Initialization Functions to be called */
 #define CONFIG_SYS_BOARD_ASM_INIT
 #define CONFIG_BOARD_EARLY_INIT_F
index 94a69927edbd377c6f6ca1995690f6a5aec4c767..e44009e8b1c30ed3fcc09eecd9394e4ccfdfd987 100644 (file)
 
 #define L2_ENABLE      (L2_INIT | L2CR_L2E)
 
+#ifndef __ASSEMBLY__
+#include <../board/Marvell/include/core.h>
+#endif
+
 #endif /* __CONFIG_H */
index d3c89908572422aef643c2309e0bd519901d9862..4ceee17cd2e4c24456811929ca742893136763ea 100644 (file)
 
 #define        CONFIG_SYS_TEXT_BASE    0xFFF00000
 
+#ifndef __ASSEMBLY__
+#include <galileo/core.h>
+#endif
+
 /*
  * Monitor configuration
  *