summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu J. Poirier <mathieu.poirier@linaro.org>2011-03-23 13:40:07 -0600
committerMathieu J. Poirier <mathieu.poirier@linaro.org>2011-03-23 13:40:07 -0600
commit446d8193c1b3752bff199d5eba4aaf367d95e9fd (patch)
tree2998835a58b81d594a8ebcaf2863bb3c857411bd
parent6cb6fd62382482d5ad8e492c76d24d1eb326ad14 (diff)
downloadu-boot-lt-ux500-446d8193c1b3752bff199d5eba4aaf367d95e9fd.tar.gz
Explicitely turning FSMC so that kernel doesn't have to worry about it.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-rw-r--r--board/st/u8500/u8500.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/st/u8500/u8500.c b/board/st/u8500/u8500.c
index d91bf71..bff0a79 100644
--- a/board/st/u8500/u8500.c
+++ b/board/st/u8500/u8500.c
@@ -578,7 +578,11 @@ int board_late_init(void)
printf("error at %s:%i\n", __func__, __LINE__);
goto out;
}
-
+
+ /* Turn on FSMC device */
+ writel(0x1, 0x8000f000);
+ writel(0x1, 0x8000f008);
+
/* setup FSMC for LAN controler */
writel(0x305b, 0x80000000);
/* the default is too slow */