2
0
Fork 0
mirror of https://github.com/AsahiLinux/u-boot synced 2025-03-14 13:57:00 +00:00
u-boot/board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c
Simon Glass 088454cde2 board_f: Drop return value from initdram()
At present we cannot use this function as an init sequence call without a
wrapper, since it returns the RAM size. Adjust it to set the RAM size in
global_data instead, and return 0 on success.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
2017-04-05 13:59:20 -04:00

28 lines
354 B
C

/*
* (C) Copyright 2007
* Daniel Hellstrom, daniel@gaisler.com.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <config.h>
#include <asm/leon.h>
int initdram(void)
{
/* Does not set gd->ram_size here */
return 0;
}
int checkboard(void)
{
puts("Board: GR-XC3S-1500\n");
return 0;
}
int misc_init_r(void)
{
return 0;
}