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

Skip to content
Commit d68a5c3d authored by grmoore@altera.com's avatar grmoore@altera.com Committed by Brian Norris
Browse files

mtd: denali: use 8 bytes for READID command



The Denali NAND driver reads only 5 bytes of ID, but some Hynix and Samsung
have size parameters in the 6th byte.  As a result, the page and oob size
for a Hynix H27UAG8T2B were calculated incorrectly and the driver failed to
load.

The solution is to read 8 bytes of ID, as expected by the NAND framework.

Signed-off-by: default avatarGraham Moore <grmoore@altera.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent a152056c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment