diff options
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | 2008-09-02 15:07:53 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-09-03 14:34:57 +0200 |
commit | 830c800e28e96ec7c3c6936a0bd1b9461f3e77d4 (patch) | |
tree | e0f67c487306861c605af553f0b576dd80ef6bd6 /board/esd/vom405/vom405.c | |
parent | 3d4dd7a941b2327b8c2fc535b782ca307ff8b6c8 (diff) | |
download | u-boot-imx-830c800e28e96ec7c3c6936a0bd1b9461f3e77d4.zip u-boot-imx-830c800e28e96ec7c3c6936a0bd1b9461f3e77d4.tar.gz u-boot-imx-830c800e28e96ec7c3c6936a0bd1b9461f3e77d4.tar.bz2 |
ppc4xx: Remove obsolete initdram() function from VOM405 board
This patch removed the obsolete initdram() function from
VOM405 platform file.
Some minor cleanup.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/esd/vom405/vom405.c')
-rw-r--r-- | board/esd/vom405/vom405.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/board/esd/vom405/vom405.c b/board/esd/vom405/vom405.c index af8efcf..1b1479f 100644 --- a/board/esd/vom405/vom405.c +++ b/board/esd/vom405/vom405.c @@ -37,7 +37,6 @@ const unsigned char fpgadata[] = }; int filesize = sizeof(fpgadata); - int board_early_init_f (void) { /* @@ -76,9 +75,6 @@ int board_early_init_f (void) return 0; } - -/* ------------------------------------------------------------------------- */ - int misc_init_r (void) { /* adjust flash start and offset */ @@ -88,11 +84,9 @@ int misc_init_r (void) return (0); } - /* * Check Board Identity: */ - int checkboard (void) { char str[64]; @@ -127,25 +121,6 @@ int checkboard (void) return 0; } -/* ------------------------------------------------------------------------- */ - -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 - - return (4*1024*1024 << ((val & 0x000e0000) >> 17)); -} - -/* ------------------------------------------------------------------------- */ - void reset_phy(void) { #ifdef CONFIG_LXT971_NO_SLEEP |