From 4b1a413a2fe7ac6657295a4a7a7d10b4596d61b4 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Fri, 24 Sep 2021 14:24:37 +1000 Subject: [PATCH] Add support for more spansion flash That's the one on the Wukong v2 Signed-off-by: Benjamin Herrenschmidt --- litedram/gen-src/sdram_init/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litedram/gen-src/sdram_init/main.c b/litedram/gen-src/sdram_init/main.c index 28a2599..19bbaaf 100644 --- a/litedram/gen-src/sdram_init/main.c +++ b/litedram/gen-src/sdram_init/main.c @@ -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; -- 2.30.2