summaryrefslogtreecommitdiff
path: root/board/amcc/sequoia
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-09-13 13:51:58 +0200
committerStefan Roese <sr@denx.de>2006-09-13 13:56:49 +0200
commit854bc8da75709f13dab4cfa6e9094c0cb49b5c5a (patch)
tree980b4d3d91394c491ffabe8570c81e06991d67d2 /board/amcc/sequoia
parentaeec782b020930732eab075af97212c3f03afcae (diff)
downloadu-boot-imx-854bc8da75709f13dab4cfa6e9094c0cb49b5c5a.zip
u-boot-imx-854bc8da75709f13dab4cfa6e9094c0cb49b5c5a.tar.gz
u-boot-imx-854bc8da75709f13dab4cfa6e9094c0cb49b5c5a.tar.bz2
Add support for AMCC Rainier PPX440GRx eval board
Patch by Stefan Roese, 13 Sep 2006
Diffstat (limited to 'board/amcc/sequoia')
-rw-r--r--board/amcc/sequoia/sequoia.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/amcc/sequoia/sequoia.c b/board/amcc/sequoia/sequoia.c
index 95734b9..a8ba2c0 100644
--- a/board/amcc/sequoia/sequoia.c
+++ b/board/amcc/sequoia/sequoia.c
@@ -140,10 +140,12 @@ int misc_init_r(void)
{
uint pbcr;
int size_val = 0;
+#ifdef CONFIG_440EPX
unsigned long usb2d0cr = 0;
unsigned long usb2phy0cr, usb2h0cr = 0;
unsigned long sdr0_pfc1;
char *act = getenv("usbact");
+#endif
/*
* FLASH stuff...
@@ -211,6 +213,7 @@ int misc_init_r(void)
/*
* USB suff...
*/
+#ifdef CONFIG_440EPX
if (act == NULL || strcmp(act, "hostdev") == 0) {
/* SDR Setting */
mfsdr(SDR0_PFC1, sdr0_pfc1);
@@ -322,6 +325,7 @@ int misc_init_r(void)
printf("USB: Device(int phy)\n");
}
+#endif /* CONFIG_440EPX */
return 0;
}
@@ -330,7 +334,11 @@ int checkboard(void)
{
char *s = getenv("serial#");
+#ifdef CONFIG_440EPX
printf("Board: Sequoia - AMCC PPC440EPx Evaluation Board");
+#else
+ printf("Board: Rainier - AMCC PPC440GRx Evaluation Board");
+#endif
if (s != NULL) {
puts(", serial# ");
puts(s);