diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2007-01-13 11:25:08 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-01-13 11:25:08 +0100 |
commit | b8a8bfc0c6390e12ffb324405ae9179ef460cb5c (patch) | |
tree | af4d40fe81c1db7ea293a3a34c66b94fe6bb153b /board/amcc/yosemite/yosemite.c | |
parent | c6676c73dcb63d2b65262064e22fbe238336a97c (diff) | |
parent | 44cd6de2e1b0cdff76bf8c85a1c93c6844da62fd (diff) | |
download | u-boot-imx-b8a8bfc0c6390e12ffb324405ae9179ef460cb5c.zip u-boot-imx-b8a8bfc0c6390e12ffb324405ae9179ef460cb5c.tar.gz u-boot-imx-b8a8bfc0c6390e12ffb324405ae9179ef460cb5c.tar.bz2 |
Merge with /home/sr/git/u-boot/denx-merge-sr
Diffstat (limited to 'board/amcc/yosemite/yosemite.c')
-rw-r--r-- | board/amcc/yosemite/yosemite.c | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/board/amcc/yosemite/yosemite.c b/board/amcc/yosemite/yosemite.c index 588ee90..d47219c 100644 --- a/board/amcc/yosemite/yosemite.c +++ b/board/amcc/yosemite/yosemite.c @@ -39,24 +39,6 @@ int board_early_init_f(void) reg = mfdcr(ebccfgd); mtdcr(ebccfgd, reg | 0x04000000); /* Set ATC */ - mtebc(pb0ap, 0x03017300); /* FLASH/SRAM */ - mtebc(pb0cr, 0xfc0da000); /* BAS=0xfc0 64MB r/w 16-bit */ - - mtebc(pb1ap, 0x00000000); - mtebc(pb1cr, 0x00000000); - - mtebc(pb2ap, 0x04814500); - /*CPLD*/ mtebc(pb2cr, 0x80018000); /*BAS=0x800 1MB r/w 8-bit */ - - mtebc(pb3ap, 0x00000000); - mtebc(pb3cr, 0x00000000); - - mtebc(pb4ap, 0x00000000); - mtebc(pb4cr, 0x00000000); - - mtebc(pb5ap, 0x00000000); - mtebc(pb5cr, 0x00000000); - /*-------------------------------------------------------------------- * Setup the GPIO pins *-------------------------------------------------------------------*/ @@ -186,8 +168,15 @@ int misc_init_r (void) int checkboard(void) { char *s = getenv("serial#"); + u8 rev; + u8 val; printf("Board: Yosemite - AMCC PPC440EP Evaluation Board"); + + rev = *(u8 *)(CFG_CPLD + 0); + val = *(u8 *)(CFG_CPLD + 5) & 0x01; + printf(", Rev. %X, PCI=%d MHz", rev, val ? 66 : 33); + if (s != NULL) { puts(", serial# "); puts(s); |