dm: Support driver model prior to relocation
authorSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 12:55:04 +0000 (06:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:07:24 +0000 (14:07 +0100)
commitab7cd62790c4f7831b91eab8a2ec81742d01bb54
treea298371967a59815b09ef034e165493b50826eea
parent00606d7e39da4a8ecfbbc19d5af252bdfdd1fcc9
dm: Support driver model prior to relocation

Initialise devices marked 'pre-reloc' and make them available prior to
relocation. Note that this requires pre-reloc malloc() to be available.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c
common/board_r.c
drivers/core/root.c
include/asm-generic/global_data.h
include/dm/root.h