]> Git Repo - u-boot.git/blobdiff - drivers/ddr/fsl/ddr2_dimm_params.c
tools: kwboot: Fix parsing UART image without data checksum
[u-boot.git] / drivers / ddr / fsl / ddr2_dimm_params.c
index af752cc96c6d366050fd07a6c16e4eb1ab8e2f61..3b78118a9d823517c35388403ac3099b6071a5d6 100644 (file)
@@ -1,11 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright 2008 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0
  */
 
 #include <common.h>
 #include <fsl_ddr_sdram.h>
+#include <log.h>
+#include <asm/bitops.h>
 
 #include <fsl_ddr.h>
 /*
@@ -269,7 +270,6 @@ unsigned int ddr_compute_dimm_parameters(const unsigned int ctrl_num,
        pdimm->n_banks_per_sdram_device = spd->nbanks;
        pdimm->edc_config = spd->config;
        pdimm->burst_lengths_bitmask = spd->burstl;
-       pdimm->row_density = spd->rank_dens;
 
        /*
         * Calculate the Maximum Data Rate based on the Minimum Cycle time.
This page took 0.033052 seconds and 4 git commands to generate.