summaryrefslogtreecommitdiff
path: root/include/configs/microblaze-generic.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-12-11 13:45:29 (GMT)
committerMichal Simek <michal.simek@xilinx.com>2016-01-27 14:55:53 (GMT)
commit44a3a91cb0424e887105c2bfc670b863e8f2ee71 (patch)
tree18570ade3a6e1257fad9b9d17b4db8e30354306b /include/configs/microblaze-generic.h
parent85916e29df41d16cf89e48113acafe9a670770c9 (diff)
downloadu-boot-44a3a91cb0424e887105c2bfc670b863e8f2ee71.tar.xz
microblaze: Read information about RAM from DT
Do not setup ram start/size in board file. Read it from DT instead. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/microblaze-generic.h')
-rw-r--r--include/configs/microblaze-generic.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index cf7deea..9d14192 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -68,13 +68,6 @@
# endif
#endif
-#if !defined(CONFIG_OF_CONTROL) || \
- (defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_OF_CONTROL))
-/* ddr sdram - main memory */
-# define CONFIG_SYS_SDRAM_BASE XILINX_RAM_START
-# define CONFIG_SYS_SDRAM_SIZE XILINX_RAM_SIZE
-#endif
-
#define CONFIG_SYS_MALLOC_LEN 0xC0000
/* Stack location before relocation */
@@ -259,7 +252,7 @@
#define CONFIG_SYS_MAXARGS 15
#define CONFIG_SYS_LONGHELP
/* default load address */
-#define CONFIG_SYS_LOAD_ADDR XILINX_RAM_START
+#define CONFIG_SYS_LOAD_ADDR 0
#define CONFIG_BOOTDELAY -1 /* -1 disables auto-boot */
#define CONFIG_BOOTARGS "root=romfs"