|
@@ -34,6 +34,11 @@
|
|
|
* 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 {
|
|
@@ -144,6 +149,8 @@ typedef struct bd_info {
|
|
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
+#endif /* !CONFIG_SYS_GENERIC_BOARD */
|
|
|
+
|
|
|
/* For image.h:image_check_target_arch() */
|
|
|
#define IH_ARCH_DEFAULT IH_ARCH_PPC
|
|
|
|