stm32f7: stm32f746-disco: read memory info from device tree
[platform/kernel/u-boot.git] / drivers / ram / stm32_sdram.c
index eb1ab94..5e09f35 100644 (file)
@@ -179,7 +179,6 @@ static int stm32_fmc_probe(struct udevice *dev)
 
 static int stm32_fmc_get_info(struct udevice *dev, struct ram_info *info)
 {
-       info->size = CONFIG_SYS_RAM_SIZE;
        return 0;
 }