arm: socfpga: Move code from misc_init_r() to arch_early_init_r()
authorMarek Vasut <marex@denx.de>
Sat, 18 Oct 2014 01:52:36 +0000 (03:52 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 27 Oct 2014 01:26:24 +0000 (02:26 +0100)
commitfc520894d426aae5dc0b87aa012520fc18231e1e
tree1ca7b7c3718a20a5f70d4e3ac407efe02ac021fe
parent5b3ee386fde82a1ba42ff09b95247842c9a1585e
arm: socfpga: Move code from misc_init_r() to arch_early_init_r()

Move this initialization code to proper place. The misc_init_r()
function is called way too late and the platform initialization
code should be executed much earlier.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Vince Bridgers <vbridger@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Acked-by: Pavel Machek <pavel@denx.de>
arch/arm/cpu/armv7/socfpga/misc.c
include/configs/socfpga_common.h