ppc4xx: Remove superfluous dram_init() call or replace it by initdram()
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>
Showing
- board/amcc/acadia/memory.c 0 additions, 15 deletionsboard/amcc/acadia/memory.c
- board/amcc/bubinga/bubinga.c 0 additions, 16 deletionsboard/amcc/bubinga/bubinga.c
- board/amcc/makalu/makalu.c 0 additions, 5 deletionsboard/amcc/makalu/makalu.c
- board/amcc/walnut/walnut.c 0 additions, 16 deletionsboard/amcc/walnut/walnut.c
- board/amcc/yosemite/yosemite.c 3 additions, 49 deletionsboard/amcc/yosemite/yosemite.c
- board/amirix/ap1000/init.S 0 additions, 4 deletionsboard/amirix/ap1000/init.S
- board/cray/L1/init.S 0 additions, 11 deletionsboard/cray/L1/init.S
- board/csb272/csb272.c 9 additions, 0 deletionsboard/csb272/csb272.c
- board/csb472/csb472.c 9 additions, 0 deletionsboard/csb472/csb472.c
- board/eric/eric.c 8 additions, 0 deletionsboard/eric/eric.c
- board/esd/ar405/ar405.c 0 additions, 22 deletionsboard/esd/ar405/ar405.c
- board/esd/canbt/canbt.c 0 additions, 19 deletionsboard/esd/canbt/canbt.c
- board/exbitgen/exbitgen.c 9 additions, 0 deletionsboard/exbitgen/exbitgen.c
- board/g2000/g2000.c 0 additions, 35 deletionsboard/g2000/g2000.c
- board/jse/init.S 0 additions, 10 deletionsboard/jse/init.S
- board/ml2/init.S 0 additions, 4 deletionsboard/ml2/init.S
- board/mpl/mip405/init.S 0 additions, 13 deletionsboard/mpl/mip405/init.S
- board/mpl/pip405/init.S 0 additions, 13 deletionsboard/mpl/pip405/init.S
- board/netstal/hcu4/hcu4.c 0 additions, 9 deletionsboard/netstal/hcu4/hcu4.c
- board/netstal/hcu5/sdram.c 2 additions, 24 deletionsboard/netstal/hcu5/sdram.c
Loading
Please register or sign in to comment