diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-04-29 10:52:34 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-05-15 13:11:48 +0200 |
commit | 6335b509b2b6fbe4cbeaef739434b40b8018df82 (patch) | |
tree | be46840dd72f51a45e6809c8087d25326e39353d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 19d8ccc42b148d75284a3809f1eb1eba13a81677 (diff) |
mtd: nand: fsmc: reduce number of arguments of fsmc_nand_setup()
In preparation for the introduction of support for using SDR timings
exposed by the NAND flash instead of hard-coded timings, this commit
reworks the fsmc_nand_setup() function to take a "struct fsmc_nand_data"
as argument, which already contains the I/O registers base address, bank
and bus width information.
The timings is also currently contained in the "struct fsmc_nand_data",
but we still pass it as a separate argument because the support for
using SDR timings will pass a different value.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions