~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/edac/r82600_edac.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <linux/edac.h>
23
23
#include "edac_core.h"
24
24
 
25
 
#define R82600_REVISION " Ver: 2.0.2 " __DATE__
 
25
#define R82600_REVISION " Ver: 2.0.2"
26
26
#define EDAC_MOD_STR    "r82600_edac"
27
27
 
28
28
#define r82600_printk(level, fmt, arg...) \
120
120
                                 *        write 0=NOP
121
121
                                 */
122
122
 
123
 
#define R82600_DRBA     0x60    /* + 0x60..0x63 SDRAM Row Boundry Address
 
123
#define R82600_DRBA     0x60    /* + 0x60..0x63 SDRAM Row Boundary Address
124
124
                                 *  Registers
125
125
                                 *
126
126
                                 * 7:0  Address lines 30:24 - upper limit of
217
217
{
218
218
        struct csrow_info *csrow;
219
219
        int index;
220
 
        u8 drbar;               /* SDRAM Row Boundry Address Register */
 
220
        u8 drbar;               /* SDRAM Row Boundary Address Register */
221
221
        u32 row_high_limit, row_high_limit_last;
222
222
        u32 reg_sdram, ecc_on, row_base;
223
223
 
236
236
                row_high_limit = ((u32) drbar << 24);
237
237
/*              row_high_limit = ((u32)drbar << 24) | 0xffffffUL; */
238
238
 
239
 
                debugf1("%s() Row=%d, Boundry Address=%#0x, Last = %#0x\n",
 
239
                debugf1("%s() Row=%d, Boundary Address=%#0x, Last = %#0x\n",
240
240
                        __func__, index, row_high_limit, row_high_limit_last);
241
241
 
242
242
                /* Empty row [p.57] */