diff options
| author | 2012-09-24 20:40:50 -0700 | |
|---|---|---|
| committer | 2012-09-29 15:57:38 +0100 | |
| commit | fc09bbc04ccd7f069c1928a0156968b888393833 (patch) | |
| tree | 75d7b13a28849caf125cb7cdf82f291dff716907 /tools/perf/util/python.c | |
| parent | mtd: nand: split BB marker options decoding into its own function (diff) | |
| download | wireguard-linux-fc09bbc04ccd7f069c1928a0156968b888393833.tar.xz wireguard-linux-fc09bbc04ccd7f069c1928a0156968b888393833.zip | |
mtd: nand: split extended ID decoding into its own function
When detecting NAND parameters, the code gets a little ugly so that the
logic is obscured. Try to remedy that by moving code to separate functions
that have well-defined purposes.
This patch splits out the extended ID decode functionality, which handles
decoding the 3rd-8th ID bytes to determine NAND device parameters.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
