upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
540 B
37 lines
540 B
/*
|
|
* Copyright (C) 2012-2014 Panasonic Corporation
|
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/arch/led.h>
|
|
|
|
int umc_init(void);
|
|
void enable_dpll_ssc(void);
|
|
|
|
int dram_init(void)
|
|
{
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
|
|
|
|
#ifdef CONFIG_DRAM_INIT
|
|
led_write(B, 4, , );
|
|
|
|
{
|
|
int res;
|
|
|
|
res = umc_init();
|
|
if (res < 0)
|
|
return res;
|
|
}
|
|
led_write(B, 5, , );
|
|
|
|
enable_dpll_ssc();
|
|
#endif
|
|
|
|
led_write(B, 6, , );
|
|
|
|
return 0;
|
|
}
|
|
|