commit | 3edd3544f0e67fee9fae47c31180da92ba1bdb0f | [log] [tgz] |
---|---|---|
author | Abhishek Sahu <absahu@codeaurora.org> | Fri May 04 14:11:03 2018 +0530 |
committer | Abhishek Sahu <absahu@codeaurora.org> | Fri May 04 14:55:07 2018 +0530 |
tree | 73ec6c9056d149e0c5b4a4ca681b87dd870f2036 | |
parent | 290e544e19900fac72b84b1cb67c6762d5cead75 [diff] |
mtd: qcom: write NAND_CTRL only once Currently NAND_CTRL register write generates error. Register writes to operational registers should always be done through command descriptors if BAM_MODE is already enabled. For NAND boot, bootloader already enables BAM_MODE so read the NAND_CTRL register value and write only if BAM_MODE is not set. Change-Id: Iabc3e06dc7d8d8b36cdf35907217e1c4d7cc960a Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>