]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00223349-1 gpmi: add a new field for HW_GPMI_TIMING1
authorHuang Shijie <b32955@freescale.com>
Fri, 7 Sep 2012 02:51:01 +0000 (10:51 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:59 +0000 (14:12 +0200)
commitf8ca812eb61e57465f5a6a03399909d699d484cc
tree2febe79a52597228ab64145ba5ac32c7912fc467
parent39496cc0598c2af3c57539defc16929043a3dfda
ENGR00223349-1 gpmi: add a new field for HW_GPMI_TIMING1

The gpmi_nfc_compute_hardware_timing{} should contains all the
fields setting for gpmi timing registers. It already contains the fields
for HW_GPMI_TIMING0 and HW_GPMI_CTRL1.

So it is better to add a new field setting for HW_GPMI_TIMING1 in
this data structure. This makes the code more clear in logic.

This patch also changs some comments to make the code more readable.

Signed-off-by: Huang Shijie <b32955@freescale.com>
drivers/mtd/nand/gpmi-nand/gpmi-lib.c
drivers/mtd/nand/gpmi-nand/gpmi-nand.h