diff options
| author | Stefan Roese <sr@denx.de> | 2008-09-10 16:53:47 +0200 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2008-09-12 07:12:33 +0200 | 
| commit | 7bf5ecfa50722a9feb45ea8f04da75f5d406f20b (patch) | |
| tree | a28ce7747e214469fa77199f4ea83ba8e2965e48 /board/zeus/zeus.c | |
| parent | 61737c59a3285f6fadf96a5836879898c04ec28d (diff) | |
| download | olio-uboot-2014.01-7bf5ecfa50722a9feb45ea8f04da75f5d406f20b.tar.xz olio-uboot-2014.01-7bf5ecfa50722a9feb45ea8f04da75f5d406f20b.zip | |
ppc4xx: Fix SDRAM inititialization of multiple 405 based board ports
This patch fixes a problem introdiced with patch
bbeff30c [ppc4xx: Remove superfluous dram_init() call or replace it by
initdram()].
The boards affected are:
- PCI405
- PPChameleonEVB
- quad100hd
- taihu
- zeus
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/zeus/zeus.c')
| -rw-r--r-- | board/zeus/zeus.c | 23 | 
1 files changed, 0 insertions, 23 deletions
| diff --git a/board/zeus/zeus.c b/board/zeus/zeus.c index 33d971ab0..2a4ec5ca7 100644 --- a/board/zeus/zeus.c +++ b/board/zeus/zeus.c @@ -190,29 +190,6 @@ int checkboard(void)  	return (0);  } -static u32 detect_sdram_size(void) -{ -	u32 val; -	u32 size; - -	mfsdram(mem_mb0cf, val); -	size = (4 << 20) << ((val & 0x000e0000) >> 17); - -	/* -	 * Check if 2nd bank is enabled too -	 */ -	mfsdram(mem_mb1cf, val); -	if (val & 1) -		size += (4 << 20) << ((val & 0x000e0000) >> 17); - -	return size; -} - -phys_size_t initdram (int board_type) -{ -	return detect_sdram_size(); -} -  static int default_env_var(char *buf, char *var)  {  	char *ptr; |