diff options
author | Alessandro Rubini <rubini@unipv.it> | 2009-02-09 15:53:33 +0100 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-02-22 13:40:31 +0100 |
commit | d3be1bcae7a8207e0a79ffd035d0e90f80378295 (patch) | |
tree | b6c21d8c20113f7333b4d74d073a8dcb6049602e /board/st/nmdk8815/nmdk8815.c | |
parent | 0d8c6eab2481046e9446264bfe9402bb98ddf433 (diff) | |
download | u-boot-imx-d3be1bcae7a8207e0a79ffd035d0e90f80378295.zip u-boot-imx-d3be1bcae7a8207e0a79ffd035d0e90f80378295.tar.gz u-boot-imx-d3be1bcae7a8207e0a79ffd035d0e90f80378295.tar.bz2 |
Enable Ethernet for Nomadik 8815 Evaluation Kit
This trivially enables Ethernet support in the debug board
by setting up the proper chip select.
Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stnwireless.com>
Diffstat (limited to 'board/st/nmdk8815/nmdk8815.c')
-rw-r--r-- | board/st/nmdk8815/nmdk8815.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/st/nmdk8815/nmdk8815.c b/board/st/nmdk8815/nmdk8815.c index c54eac1..edf4626 100644 --- a/board/st/nmdk8815/nmdk8815.c +++ b/board/st/nmdk8815/nmdk8815.c @@ -49,8 +49,11 @@ int board_init(void) writel(0x00000000, NOMADIK_GPIO1_BASE + 0x28); writel(readl(NOMADIK_SRC_BASE) | 0x8000, NOMADIK_SRC_BASE); - icache_enable(); + /* Set up SMCS1 for Ethernet: sram-like, enabled, timing values */ + writel(0x0000305b, REG_FSMC_BCR1); + writel(0x00033f33, REG_FSMC_BTR1); + icache_enable(); return 0; } |