lkml.org 
[lkml]   [2017]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectEDAC: simplify total memory calculation
Date
This take the approach used by cell_edac.c to obtain the total memory from
the devicetree and applies it to mv64x60_edac.c, altera_edac.c and
cpc925_edac.c which were all manually parsing the reg property. In the case
of mv64x60 this actually fixes cases where #address/size-cells != 1. For
altera and cpc925 this is just a cleanup.

Chris Packham (3):
EDAC: mv64x60: calculate memory size correctly
EDAC: altera: simplify calculation of total memory
EDAC: cpc925: simplify calculation of total memory

drivers/edac/altera_edac.c | 24 ++++++++----------------
drivers/edac/cpc925_edac.c | 32 ++++++++++----------------------
drivers/edac/mv64x60_edac.c | 17 +++++++++++------
3 files changed, 29 insertions(+), 44 deletions(-)

--
2.13.0

\
 
 \ /
  Last update: 2017-06-12 00:56    [W:0.047 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site