ARM: zynq: Do not use half memory size for ECC case
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / zynq / ddrc.c
index 302654d..e0ed3bf 100644 (file)
@@ -44,7 +44,4 @@ void zynq_ddrc_init(void)
        } else {
                puts("Memory: ECC disabled\n");
        }
-
-       if (width == ZYNQ_DDRC_CTRLREG_BUSWIDTH_16BIT)
-               gd->ram_size /= 2;
 }