summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/config.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-05-08 16:08:44 +0200
committerMichal Simek <michal.simek@xilinx.com>2015-02-09 15:11:56 +0100
commite945f6dc2814f5f0d30b5b7e23821b3fd4faff5b (patch)
tree30e842dc2c1878f34f9f86a5cc264e3b9a0bbdaf /arch/microblaze/include/asm/config.h
parent4dd097427aeb6848fcb19c31b805abe1a3906913 (diff)
downloadu-boot-imx-e945f6dc2814f5f0d30b5b7e23821b3fd4faff5b.zip
u-boot-imx-e945f6dc2814f5f0d30b5b7e23821b3fd4faff5b.tar.gz
u-boot-imx-e945f6dc2814f5f0d30b5b7e23821b3fd4faff5b.tar.bz2
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/config.h')
-rw-r--r--arch/microblaze/include/asm/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/config.h b/arch/microblaze/include/asm/config.h
index cd29734..4686734 100644
--- a/arch/microblaze/include/asm/config.h
+++ b/arch/microblaze/include/asm/config.h
@@ -7,4 +7,12 @@
#ifndef _ASM_CONFIG_H_
#define _ASM_CONFIG_H_
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_NEEDS_MANUAL_RELOC
+#endif
+
+#define CONFIG_NR_DRAM_BANKS 1
+#define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_SYS_GENERIC_GLOBAL_DATA
+
#endif