]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/m68k/include/asm/u-boot.h
m68k: add generic-board support
[karo-tx-uboot.git] / arch / m68k / include / asm / u-boot.h
index 983cb2d9671c8aebc37fbe1ed6a7577ae4b15373..911c0d398c503acaa4c936ebc3dda4bdccba1e00 100644 (file)
  * include/asm-ppc/u-boot.h
  */
 
+#ifdef CONFIG_SYS_GENERIC_BOARD
+/* Use the generic board which requires a unified bd_info */
+#include <asm-generic/u-boot.h>
+#else
+
 #ifndef __ASSEMBLY__
 
 typedef struct bd_info {
@@ -48,6 +53,9 @@ typedef struct bd_info {
 
 #endif                         /* __ASSEMBLY__ */
 
+#endif                         /* !CONFIG_SYS_GENERIC_BOARD */
+
+
 /* For image.h:image_check_target_arch() */
 #define IH_ARCH_DEFAULT IH_ARCH_M68K