From: Michal Simek Date: Tue, 5 Mar 2013 12:59:05 +0000 (+0100) Subject: zynq: Do not setup ram start and size in board specific file X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca96b77c4447a0710ad091f9ed6411f9a57fd31b;p=thirdparty%2Fu-boot.git zynq: Do not setup ram start and size in board specific file It is setup in dram_init_banksize() in board.c Also do not call get_ram_size to determine ram size. Signed-off-by: Michal Simek --- diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 78f2c56e36e..c4983c8ab18 100644 --- a/board/xilinx/zynq/board.c +++ b/board/xilinx/zynq/board.c @@ -161,10 +161,7 @@ int board_nand_init(struct nand_chip *nand_chip) int dram_init(void) { - gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, - CONFIG_SYS_SDRAM_SIZE); - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; - gd->bd->bi_dram[0].size = CONFIG_SYS_SDRAM_SIZE; + gd->ram_size = CONFIG_SYS_SDRAM_SIZE; return 0; }