Michael (XIAO Xufeng) 671ecd7522 spiram: fix the read id failure
The issue is caused by:
1. The disable_qio_mode inside read_id may have side effects.
2. read_id twice may have side effects.

Fix this issue by moving disable_qio_mode out of read_id and only do it
once before read_id. And retry read_id only when the first one is
failed.

Issue introduced in 3ecbb59c15e0fd8209bd8921725d52cff3f0fb12.
2020-07-01 16:39:16 +08:00
..
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2019-06-03 14:15:08 +08:00
2020-07-01 16:39:16 +08:00
2019-06-03 14:15:08 +08:00