Add POST support for memory.

ARM chip in general does not have any POST memory test in this uboot
version. For other type of chips (e.g. PPC), memory POST test is usually
done before the relocation occurs. Also for other chips, most of
peripheral initialization is done before relocation. However this chip
(and many other ARM chips) has relocation done in start.S and DRAM
initialization only happens after relocation is done, which means it is
almost impossible to do memory checking before relocation.

The memory POST check in this CL is only checking between 0 and
TEXT_BASE-1M where kernel will be loaded. For extensive memory test,
mtest is available for that purpose.

Change-Id: I83b5ff0a46d4911bcfa95af0cc19662685fb026b
8 files changed