From: Benjamin Herrenschmidt Date: Fri, 24 Sep 2021 04:24:37 +0000 (+1000) Subject: Add support for more spansion flash X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b1a413a2fe7ac6657295a4a7a7d10b4596d61b4;p=microwatt.git Add support for more spansion flash That's the one on the Wukong v2 Signed-off-by: Benjamin Herrenschmidt --- 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;