Skip to content

Commit

Permalink
tests/qtest: Reduce npcm7xx_sdhci test image size
Browse files Browse the repository at this point in the history
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 <[email protected]>
Message-id: [email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
  • Loading branch information
haowu4682 authored and pm215 committed Jun 10, 2022
1 parent 02e1de1 commit 284ad5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/qtest/npcm7xx_sdhci-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 284ad5e

Please sign in to comment.