summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRostislav Lisovy <lisovy@gmail.com>2014-10-29 11:10:59 +0100
committerBrian Norris <computersforpeace@gmail.com>2014-11-05 13:01:22 -0800
commit1dc338e856744b8ca62addd1e29cc25fe6aae14d (patch)
treecb1adf5004dc038dc744e0f2f85309c7ddca4c2c /tools/perf/scripts/python
parent4414d3efe57df6168d1ea564d56557d76b5ad8c7 (diff)
mtd: nand: omap: Synchronize the access to the ECC engine
The AM335x Technical Reference Manual (spruh73j.pdf) says "Because the ECC engine includes only one accumulation context, it can be allocated to only one chip-select at a time ... " (7.1.3.3.12.3). Since the commit 97a288ba2cfa ("ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()") gpmc-nand driver supports multiple NAND flash devices connected to the single controller. Use global 'struct nand_hw_control' among multiple NAND instances to synchronize the access to the single ECC Engine. Tested with custom AM335x board using 2x NAND flash chips. Signed-off-by: Rostislav Lisovy <lisovy@merica.cz> Acked-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions