1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-05 04:35:00 +00:00

Add support for more spansion flash

That's the one on the Wukong v2

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Benjamin Herrenschmidt
2021-09-24 14:24:37 +10:00
parent c7579d74b0
commit 4b1a413a2f

View File

@@ -125,7 +125,7 @@ static bool check_flash(void)
/* Supported flash types for quad mode */
if (id[0] == 0x01 &&
(id[1] == 0x02 || id[1] == 0x20) &&
(id[1] == 0x02 || id[1] == 0x20 || id[1] == 0x60) &&
(id[2] == 0x18 || id[2] == 0x19)) {
check_spansion_quad_mode();
quad = true;