Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 941885a9 authored by Sahitya Tummala's avatar Sahitya Tummala
Browse files

mtd: msm_qpic_nand: Update ONFI device detection steps



On older chipsets, the registers FLASH_DEV_CMD1, FLASH_DEV_CMD_VLD
has to be modified to read the ONFI parameter page from the device
by issuing the MSM_NAND_CMD_PAGE_READ_ALL(0x34) command. But these
registers are not allowed to access from Apps for security reasons
and hence ONFI devices auto-detection is kept disabled till now.

On new chipsets, a new read command MSM_NAND_CMD_PAGE_READ_ONFI(0x35)
is added and thus avoiding the need to update the above mentioned
restricted registers. This change enables ONFI devie detection on
those new chipsets by updating the ONFI parameter page reading steps
and also by fixing other issues observed in this path.

Change-Id: I3912f38605d5923901065a7dda53624cbfd45672
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 6bee3417
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment