]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mtd: nand: omap_elm: use macros for register definitions
authorpekon gupta <pekon@ti.com>
Fri, 11 Apr 2014 07:25:31 +0000 (12:55 +0530)
committerTom Rini <trini@ti.com>
Fri, 6 Jun 2014 21:45:50 +0000 (17:45 -0400)
commit0439d752c5ad6cb95b1c8e1f922d74eee73d79a9
treeae1bb30686d09be80f61857c4395ab75493a2430
parent41bbe4dd49a3825e024e874ee19c6527860a3f16
mtd: nand: omap_elm: use macros for register definitions

This patch adds macros for following parameters of ELM Hardware engine
 - ELM_MAX_CHANNELS: ELM can process 8 data streams simultaneously
 - ELM_MAX_ERRORS: ELM can detect upto 16 ECC error when using BCH16 scheme

Signed-off-by: Pekon Gupta <pekon@ti.com>
Reviewed-by: Stefan Roese <sr@denx.de>
include/linux/mtd/omap_elm.h