[amlogic][nand] Poll chip status instead of waiting before page read

Add an option to poll the chip status register to make sure it is safe
to read instead of just waiting 25us. This duration is close to the
maximum page read time for Toshiba NAND chips, which may explain the
intermittent failures that are suspected to be happening in the field.
Micron is switched to polling as well.

Test: Ran iotime read on FVM partition on Astro
MULTIPLY: aml-rawnand-unittest: 500
Change-Id: Ie048a0e40a550019ec3c3d33631991a2d197b804
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/650003
Reviewed-by: Chris Suter <csuter@google.com>
Reviewed-by: Martin Lindsay <mlindsay@google.com>
Commit-Queue: Braden Kell <bradenkell@google.com>
(cherry picked from commit 99e025142922860161f5c08b4b8be73215034b52)
6 files changed
tree: 31e8b7e9351731329ec713a0b44c5b1804356029
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. garnet/
  7. products/
  8. scripts/
  9. sdk/
  10. src/
  11. third_party/
  12. tools/
  13. zircon/
  14. .clang-format
  15. .clang-tidy
  16. .git-blame-ignore-revs
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. analysis_options.yaml
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. README.md
  30. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

Fuchsia an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.