u-boot-brain/board/gaisler/grsim/grsim.c
Simon Glass 52c411805c 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>
2017-04-05 13:58:44 -04:00

28 lines
342 B
C

/*
* GRSIM/TSIM board
*
* (C) Copyright 2007
* Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/leon.h>
phys_size_t initdram(void)
{
return 1;
}
int checkboard(void)
{
puts("Board: GRSIM/TSIM\n");
return 0;
}
int misc_init_r(void)
{
return 0;
}