SPEAr: Initialize SNOR in early_board_init_f
authorAmit Virdi <amit.virdi@st.com>
Mon, 7 May 2012 07:36:49 +0000 (13:06 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:41 +0000 (14:07 +0200)
commit0b7ff3f4595f751ca796456f536c50cae498351d
treed220fb1a11c84eadb070ad956be0535db0410ae4
parent1b7935cd96f2295d5cdf144fa46696fb60a820ef
SPEAr: Initialize SNOR in early_board_init_f

flash reading is required earlier than flash_init is called since the env_init
is called before flash_init. This makes the smi_init necessary before env_init
being called.

Signed-off-by: Amit Virdi <amit.virdi@st.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
board/spear/common/spr_misc.c
include/configs/spear-common.h