Split wipe_unused_memory into arch specific and generic functions

This new organization will allow x86 to do things differently, and also avoid
duplicating code.

BUG=chrome-os-partner:6194
BUG=chrome-os-partner:6195
TEST=Built and booted on Stumpy and Kaen.

Change-Id: Ifb47d08c2df9116a10f6090b15614828e3cba9e1
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://gerrit.chromium.org/gerrit/10005
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
1 file changed
tree: a6ffdb67ac401a93ec03093d9ba7e1e13b542a31
  1. board/
  2. common/
  3. include/
  4. lib/