Source
x
static void setup_column_address_map(struct synps_edac_priv *priv, u32 *addrmap)
/*
* Synopsys DDR ECC Driver
* This driver is based on ppc4xx_edac.c drivers
*
* Copyright (C) 2012 - 2014 Xilinx, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details
*/
/* Number of cs_rows needed per memory controller */
/* Number of channels per memory controller */
/* Granularity of reported error in bytes */
/* Synopsys DDR memory controller registers that are relevant to ECC */
/* ECC control register */
/* ECC log register */
/* ECC address register */
/* ECC data[31:0] register */
/* Uncorrectable error info registers */
/* Control register bit field definitions */
/* ZQ register bit field definitions */
/* ECC control register bit field definitions */
/* ECC correctable/uncorrectable error log register definitions */
/* ECC correctable/uncorrectable error address register definitions */
/* ECC statistic register definitions */