|
@@ -39,6 +39,13 @@
|
|
#include <config.h>
|
|
#include <config.h>
|
|
#include <compiler.h>
|
|
#include <compiler.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 {
|
|
typedef struct bd_info {
|
|
unsigned long bi_memstart; /* start of DRAM memory */
|
|
unsigned long bi_memstart; /* start of DRAM memory */
|
|
phys_size_t bi_memsize; /* size of DRAM memory in bytes */
|
|
phys_size_t bi_memsize; /* size of DRAM memory in bytes */
|
|
@@ -60,6 +67,10 @@ typedef struct bd_info {
|
|
}bi_dram[CONFIG_NR_DRAM_BANKS];
|
|
}bi_dram[CONFIG_NR_DRAM_BANKS];
|
|
} bd_t;
|
|
} bd_t;
|
|
|
|
|
|
|
|
+#endif /* __ASSEMBLY__ */
|
|
|
|
+
|
|
|
|
+#endif /* !CONFIG_SYS_GENERIC_BOARD */
|
|
|
|
+
|
|
/* For image.h:image_check_target_arch() */
|
|
/* For image.h:image_check_target_arch() */
|
|
#define IH_ARCH_DEFAULT IH_ARCH_I386
|
|
#define IH_ARCH_DEFAULT IH_ARCH_I386
|
|
|
|
|