summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/u-boot.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-05-08 14:08:44 (GMT)
committerMichal Simek <michal.simek@xilinx.com>2015-02-09 14:11:56 (GMT)
commite945f6dc2814f5f0d30b5b7e23821b3fd4faff5b (patch)
tree30e842dc2c1878f34f9f86a5cc264e3b9a0bbdaf /arch/microblaze/include/asm/u-boot.h
parent4dd097427aeb6848fcb19c31b805abe1a3906913 (diff)
downloadu-boot-e945f6dc2814f5f0d30b5b7e23821b3fd4faff5b.tar.xz
microblaze: Move architecture to use generic board init
Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/include/asm/u-boot.h')
-rw-r--r--arch/microblaze/include/asm/u-boot.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/microblaze/include/asm/u-boot.h b/arch/microblaze/include/asm/u-boot.h
index 54d415e..66f8f95 100644
--- a/arch/microblaze/include/asm/u-boot.h
+++ b/arch/microblaze/include/asm/u-boot.h
@@ -16,16 +16,7 @@
#ifndef _U_BOOT_H_
#define _U_BOOT_H_
-typedef struct bd_info {
- unsigned long bi_memstart; /* start of DRAM memory */
- phys_size_t bi_memsize; /* size of DRAM memory in bytes */
- unsigned long bi_flashstart; /* start of FLASH memory */
- unsigned long bi_flashsize; /* size of FLASH memory */
- unsigned long bi_flashoffset; /* reserved area for startup monitor */
- unsigned long bi_sramstart; /* start of SRAM memory */
- unsigned long bi_sramsize; /* size of SRAM memory */
- ulong bi_boot_params; /* where this board expects params */
-} bd_t;
+#include <asm-generic/u-boot.h>
/* For image.h:image_check_target_arch() */
#define IH_ARCH_DEFAULT IH_ARCH_MICROBLAZE