commit | 3b8b8fa1ede2ea9f52a550fdddf2dda53ce52fc8 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Sun Jul 28 11:21:55 2013 +0900 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Aug 05 21:05:35 2013 +0100 |
tree | e6a58dfabd0843b2786a8a8223f9dba5bfb879e9 | |
parent | f03a5729287a8bc1eb061a2f849b5a33ed9cd3ab [diff] |
mtd: nandsim: simplify NS_RAW_OFFSET() Simplify the definision of NS_RAW_OFFSET() by using (ns)->geom.pgszoob which holds the sum of page size and OOB size. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>