diff options
author | Pekon Gupta <pekon@ti.com> | 2014-03-20 18:48:34 +0530 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-03-25 23:08:52 -0700 |
commit | 3f4eb14bdbe148fcc3a8e02f506ccc9b8c955ad4 (patch) | |
tree | eff0b8120b1a9d7c21cb97bbde936fa3e829228d /drivers/rtc/rtc-generic.c | |
parent | d9ba46d32c0edc5207fec424230dfa786a24a117 (diff) | |
download | linux-3f4eb14bdbe148fcc3a8e02f506ccc9b8c955ad4.tar.gz linux-3f4eb14bdbe148fcc3a8e02f506ccc9b8c955ad4.tar.bz2 linux-3f4eb14bdbe148fcc3a8e02f506ccc9b8c955ad4.zip |
mtd: devices: elm: check for hardware engine's design constraints
ELM hardware engine is used by BCH ecc-schemes for detecting and locating ECC
errors. This patch adds the following checks for ELM hardware engine:
- ELM internal buffers are of 1K,
so it cannot process data with ecc-step-size > 1K.
- ELM engine can execute upto maximum of 8 threads in parallel,
so in *page-mode* (when complete page is processed in single iteration),
ELM cannot support ecc-steps > 8.
Signed-off-by: Pekon Gupta <pekon@ti.com>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/rtc/rtc-generic.c')
0 files changed, 0 insertions, 0 deletions