diff options
author | Alessandro Rubini <rubini@unipv.it> | 2009-06-22 09:18:57 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-07-06 21:53:06 +0200 |
commit | f7aa59b29a451cc502078a9e4ba32345a4250c05 (patch) | |
tree | d47c46d9f8a52ee42654e728a42888c22f6a4ecd /board | |
parent | fd14c41a861cd38ee2fe3abd61d59b57b4eb23c9 (diff) | |
download | u-boot-f7aa59b29a451cc502078a9e4ba32345a4250c05.zip u-boot-f7aa59b29a451cc502078a9e4ba32345a4250c05.tar.gz u-boot-f7aa59b29a451cc502078a9e4ba32345a4250c05.tar.bz2 |
arm nomadik: allow Nand and OneNand to coexists
The evaluation kit has both Nand and OneNand, both drivers are there
and the two configurations only select a different default for the
jffs partition. This adds the OneNand driver and cleans up storage.
Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/st/nhk8815/nhk8815.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/st/nhk8815/nhk8815.c b/board/st/nhk8815/nhk8815.c index edf4626..085a5e0 100644 --- a/board/st/nhk8815/nhk8815.c +++ b/board/st/nhk8815/nhk8815.c @@ -53,6 +53,10 @@ int board_init(void) writel(0x0000305b, REG_FSMC_BCR1); writel(0x00033f33, REG_FSMC_BTR1); + /* Set up SMCS0 for OneNand: sram-like once again */ + writel(0x000030db, NOMADIK_FSMC_BASE + 0x00); /* FSMC_BCR0 */ + writel(0x02100551, NOMADIK_FSMC_BASE + 0x04); /* FSMC_BTR0 */ + icache_enable(); return 0; } |