1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

board_f: Drop board_type parameter from initdram()

It looks like only cm5200 and tqm8xx use this feature, so we don't really
need it in generic code. Drop it and have the users access gd->board_type
directly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Simon Glass
2017-03-31 08:40:24 -06:00
committed by Tom Rini
parent eca803756a
commit 52c411805c
140 changed files with 156 additions and 155 deletions

View File

@@ -11,7 +11,7 @@
#include <asm/io.h>
#include <netdev.h>
phys_size_t initdram(int board_type)
phys_size_t initdram(void)
{
/* Sdram is setup by assembler code */
/* If memory could be changed, we should return the true value here */