mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 02:45:39 +01:00
When running multiple tests the mmc emulator calls malloc() to obtain the memory for its disk image. Since the memory is not cleared, it is possible that it happens to contain a partition table. The dm_test_part() test (for one) relies on mmc0 being empty on startup. Zero the memory to ensure that it is. Signed-off-by: Simon Glass <sjg@chromium.org>
5.7 KiB
5.7 KiB