summaryrefslogtreecommitdiff
path: root/tests/qtest
diff options
context:
space:
mode:
authorHao Wu <wuhaotsh@google.com>2022-06-10 14:32:35 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-06-10 14:32:35 +0100
commit284ad5e70c41e02553aeb2c1eaf4e828499cb315 (patch)
tree88858f05357124b9f0a699e38c4c4034d8fed5b6 /tests/qtest
parent02e1de14bcf7cc686bf4f542b36033521f22d1ee (diff)
tests/qtest: Reduce npcm7xx_sdhci test image size
Creating 1GB image for a simple qtest is unnecessary and could lead to failures. We reduce the image size to 1MB to reduce the test overhead. Signed-off-by: Hao Wu <wuhaotsh@google.com> Message-id: 20220609214125.4192212-1-wuhaotsh@google.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/qtest')
-rw-r--r--tests/qtest/npcm7xx_sdhci-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/npcm7xx_sdhci-test.c b/tests/qtest/npcm7xx_sdhci-test.c
index aa35a77e8d..5d68540e52 100644
--- a/tests/qtest/npcm7xx_sdhci-test.c
+++ b/tests/qtest/npcm7xx_sdhci-test.c
@@ -24,7 +24,7 @@
#define NPCM7XX_REG_SIZE 0x100
#define NPCM7XX_MMC_BA 0xF0842000
#define NPCM7XX_BLK_SIZE 512
-#define NPCM7XX_TEST_IMAGE_SIZE (1 << 30)
+#define NPCM7XX_TEST_IMAGE_SIZE (1 << 20)
char *sd_path;