summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-05-24 09:50:17 +0200
committerStefan Roese <sr@denx.de>2007-05-24 09:50:17 +0200
commit7d075ee1d8cfcab9dd5b356816f17d013498cc62 (patch)
tree2092dcd7ad5b633e95bbcc047212cc6ba1975cc0 /board
parentd756894722c888d09a9fa1df8323753772d3dcce (diff)
parent5d4a179013d59a76446462e1eb0a969fba63eb81 (diff)
downloadu-boot-imx-7d075ee1d8cfcab9dd5b356816f17d013498cc62.zip
u-boot-imx-7d075ee1d8cfcab9dd5b356816f17d013498cc62.tar.gz
u-boot-imx-7d075ee1d8cfcab9dd5b356816f17d013498cc62.tar.bz2
Merge with /home/stefan/git/u-boot/acadia-nand
Diffstat (limited to 'board')
-rw-r--r--board/amcc/acadia/acadia.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/board/amcc/acadia/acadia.c b/board/amcc/acadia/acadia.c
index baf598c..3b63c8a 100644
--- a/board/amcc/acadia/acadia.c
+++ b/board/amcc/acadia/acadia.c
@@ -62,6 +62,10 @@ int board_early_init_f(void)
acadia_gpio_init();
+ /* Configure 405EZ for NAND usage */
+ mtsdr(sdrnand0, 0x80c00000);
+ mtsdr(sdrultra0, 0x8d110000);
+
/* USB Host core needs this bit set */
mfsdr(sdrultra1, reg);
mtsdr(sdrultra1, reg | SDR_ULTRA1_LEDNENABLE);
@@ -91,8 +95,11 @@ int misc_init_f(void)
int checkboard(void)
{
char *s = getenv("serial#");
+ u8 rev;
+
+ rev = in8(CFG_CPLD_BASE + 0);
+ printf("Board: Acadia - AMCC PPC405EZ Evaluation Board, Rev. %X", rev);
- printf("Board: Acadia - AMCC PPC405EZ Evaluation Board");
if (s != NULL) {
puts(", serial# ");
puts(s);