diff options
author | Wolfgang Denk <wd@denx.de> | 2008-09-12 15:24:54 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-12 15:24:54 +0200 |
commit | 6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7 (patch) | |
tree | a7468c1a17feaf28d8ef3443fe5b6f544ecddb72 /board/esd/pci405/pci405.c | |
parent | 7238ada313057a85409485b8ee21515dc10c07a5 (diff) | |
parent | b476b032562aae5a09985f7e22232a5ee7042746 (diff) | |
download | u-boot-imx-6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7.zip u-boot-imx-6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7.tar.gz u-boot-imx-6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7.tar.bz2 |
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'board/esd/pci405/pci405.c')
-rw-r--r-- | board/esd/pci405/pci405.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/board/esd/pci405/pci405.c b/board/esd/pci405/pci405.c index f740d59..f8d7c28 100644 --- a/board/esd/pci405/pci405.c +++ b/board/esd/pci405/pci405.c @@ -357,37 +357,6 @@ int checkboard (void) } /* ------------------------------------------------------------------------- */ - -phys_size_t initdram (int board_type) -{ - unsigned long val; - - mtdcr(memcfga, mem_mb0cf); - val = mfdcr(memcfgd); - -#if 0 - printf("\nmb0cf=%x\n", val); /* test-only */ - printf("strap=%x\n", mfdcr(strap)); /* test-only */ -#endif - -#if 0 /* test-only: all PCI405 version must report 16mb */ - return (4*1024*1024 << ((val & 0x000e0000) >> 17)); -#else - return (16*1024*1024); -#endif -} - -/* ------------------------------------------------------------------------- */ - -int testdram (void) -{ - /* TODO: XXX XXX XXX */ - printf ("test: 16 MB - ok\n"); - - return (0); -} - -/* ------------------------------------------------------------------------- */ int wpeeprom(int wp) { int wp_state = wp; |