[U-Boot] [PATCH v3 06/22] Split out the memory tests into separate functions