mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	Historically the 405 U-Boot port had a dram_init() call in early init stage. This function was still called from start.S and most of the time coded in assembler. This is not needed anymore (since a long time) and boards should implement the common initdram() function in C instead. This patch now removed the dram_init() call from start.S and removes the empty implementations that are scattered through most of the 405 board ports. Some older board ports really implement this dram_init() though. These are: csb272 csb472 ERIC EXBITGEN W7OLMC W7OLMG I changed those boards to call this assembler dram_init() function now from their board specific initdram() instead. This *should* work, but please test again on those platforms. And it is perhaps a good idea that those boards use some common 405 SDRAM initialization code from cpu/ppc4xx at some time. So further patches welcome here. Signed-off-by: Stefan Roese <sr@denx.de>
		
			
				
	
	
		
			31 lines
		
	
	
		
			730 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			730 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
| /*
 | |
|  * init.S: Stubs for U-Boot initialization
 | |
|  *
 | |
|  * Copyright 2002 Mind NV
 | |
|  *
 | |
|  * http://www.mind.be/
 | |
|  *
 | |
|  * Author : Peter De Schrijver (p2@mind.be)
 | |
|  *
 | |
|  * This software may be used and distributed according to the terms of
 | |
|  * the GNU General Public License (GPL) version 2, incorporated herein by
 | |
|  * reference. Drivers based on or derived from this code fall under the GPL
 | |
|  * and must retain the authorship, copyright and this license notice. This
 | |
|  * file is not a complete program and may only be used when the entire
 | |
|  * program is licensed under the GPL.
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #include <ppc4xx.h>
 | |
| 
 | |
| #include <ppc_asm.tmpl>
 | |
| #include <ppc_defs.h>
 | |
| 
 | |
| #include <asm/cache.h>
 | |
| #include <asm/mmu.h>
 | |
| 
 | |
| 
 | |
| 	.globl	ext_bus_cntlr_init
 | |
| ext_bus_cntlr_init:
 | |
| 	blr
 |