summary refs log tree commit diff stats
path: root/tests/qtest/aspeed_smc-test.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests/qtest: aspeed_smc-test: Avoid using hardcoded /tmpBin Meng2022-09-271-3/+2
| | | | | | | | | | | This case was written to use hardcoded /tmp directory for temporary files. Update to use g_file_open_tmp() for a portable implementation. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20220925113032.1949844-7-bmeng.cn@gmail.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
* hw: m25p80: add tests for BP and TB bit write protectIris Chen2022-07-141-0/+111
| | | | | | | Signed-off-by: Iris Chen <irischenlj@fb.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20220627185234.1911337-3-irischenlj@fb.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
* hw: m25p80: add tests for write protect (WP# and SRWD bit)Iris Chen2022-06-301-0/+62
| | | | | | Signed-off-by: Iris Chen <irischenlj@fb.com> Message-Id: <20220624183016.2125264-1-irischenlj@fb.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
* hw: m25p80: fixing individual test failure when tests are running in isolationIris Chen2022-06-221-11/+63
| | | | | | Signed-off-by: Iris Chen <irischenlj@fb.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
* hw: m25p80: allow write_enable latch get/setIris Chen2022-05-251-0/+43
| | | | | | | | | | | | The write_enable latch property is not currently exposed. This commit makes it a modifiable property. Signed-off-by: Iris Chen <irischenlj@fb.com> Acked-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com> Message-Id: <20220513055022.951759-1-irischenlj@fb.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
* tests/qtest: Rename m25p80 test in aspeed_smc testCédric Le Goater2021-05-011-0/+382
The m25p80 test depends on the Aspeed SMC controller to test our SPI-NOR flash support. Reflect this dependency by changing the name. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Message-Id: <20210407171637.777743-17-clg@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>