Expand POST memory test to support arch-depended implementation.
authorYork Sun <yorksun@freescale.com>
Tue, 28 Sep 2010 22:20:31 +0000 (15:20 -0700)
committerWolfgang Denk <wd@denx.de>
Tue, 19 Oct 2010 20:28:59 +0000 (22:28 +0200)
commit284170309cab2006e7730c65454458680921b16a
treec62e0f7610edbca14e5ae5a1a964fc1ad00633de
parent923527aacefc04d78003829c1e38f3985a334024
Expand POST memory test to support arch-depended implementation.

Add weak functions to enable architecture depended preparation, address
advancing, cleaning up and error handling.

These weak functions provides the framwork to implemente arch/platform
dependent code for initializing/maintenance/restore the start address, size,
physical address as well as memory mapping before/between/after memory test.
arch_memory_failure_handle can also be implemented in case more care is needed
for arch/platform.

Signed-off-by: York Sun <yorksun@freescale.com>
post/drivers/memory.c