common/memtest.c: Refactor mem_test() into three surbroutines
Original mem_test() was rather long an contained code to perform two
distinct operations. This patch moves that code into two separate
subroutines and converts mem_test into a high level interface that
calls the subroutines.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6ebc8c6 commit 6a69d233bdf9d29cf24c0b59d818fd176caf851b
@Andrey Smirnov Andrey Smirnov authored on 13 May 2015
Sascha Hauer committed on 15 May 2015
Showing 1 changed file
View
common/memtest.c