diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-12-11 14:45:29 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-01-27 15:55:53 +0100 |
commit | 44a3a91cb0424e887105c2bfc670b863e8f2ee71 (patch) | |
tree | 18570ade3a6e1257fad9b9d17b4db8e30354306b /include/configs/microblaze-generic.h | |
parent | 85916e29df41d16cf89e48113acafe9a670770c9 (diff) |
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.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index cf7deea5df..9d14192b41 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" |