bin_header_debug: add XOR engine based memtest

	** this is patch #7 in bin_header_debug series of patches

	- add new command 'xormtest', that is memtest that based on XOR engine.
	- the test basically copies known pattern (killer pattern) in chunks of
	  1MB to destination, and checks by calculating the crc32c (by XOR engine)
	  on the copied data that the data was copied without any errors.

Change-Id: I50c300fe53e997f24c1df8be8c72a26b28b5a796
Signed-off-by: Bassel Saba <>
Reviewed-by: Omri Itach <>
Tested-by: Omri Itach <>
7 files changed