m25p80: Return the JEDEC ID twice for mx25l25635e
commit6bbe036f32dcde96c511e0ed93f4ada81342d98e
authorCédric Le Goater <clg@kaod.org>
Tue, 1 Sep 2020 12:21:50 +0000 (1 14:21 +0200)
committerCédric Le Goater <clg@kaod.org>
Tue, 1 Sep 2020 12:21:50 +0000 (1 14:21 +0200)
tree105728295f3fc8f066b3b7bd489dd7cfd55b05bc
parent2f4c51c0f384d7888a04b4815861e6d5fd244d75
m25p80: Return the JEDEC ID twice for mx25l25635e

The mx25l25635e returns the JEDEC ID twice when issuing a RDID command :

  [    2.512027] aspeed-smc 1e630000.spi: reading JEDEC ID C2:20:19:C2:20:19

This can break some firmware testing for this condition on the
supermicrox11-bmc machine.

Reported-by: Erik Smit <erik.lucas.smit@gmail.com>
Message-Id: <20200819100956.2216690-2-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/block/m25p80.c