summaryrefslogtreecommitdiff
path: root/include/configs/spear-common.h
diff options
context:
space:
mode:
authorAmit Virdi <amit.virdi@st.com>2012-05-07 07:36:49 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 12:07:41 (GMT)
commit0b7ff3f4595f751ca796456f536c50cae498351d (patch)
treed220fb1a11c84eadb070ad956be0535db0410ae4 /include/configs/spear-common.h
parent1b7935cd96f2295d5cdf144fa46696fb60a820ef (diff)
downloadu-boot-0b7ff3f4595f751ca796456f536c50cae498351d.tar.xz
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>
Diffstat (limited to 'include/configs/spear-common.h')
-rw-r--r--include/configs/spear-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index cf09090..c2dff8b 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -198,6 +198,7 @@
/* Miscellaneous configurable options */
#define CONFIG_ARCH_CPU_INIT
+#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_BOOT_PARAMS_ADDR 0x00000100
#define CONFIG_CMDLINE_TAG 1