arm: rmobile: lager: Remove dram_init_banksize function
Lager board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of dram_init_banksize instead. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
956556fb0e
commit
eeb266ab6c
@ -93,7 +93,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
|||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
/* adress of boot parameters */
|
/* adress of boot parameters */
|
||||||
gd->bd->bi_boot_params = LAGER_SDRAM_BASE + 0x100;
|
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
|
||||||
|
|
||||||
/* Init PFC controller */
|
/* Init PFC controller */
|
||||||
r8a7790_pinmux_init();
|
r8a7790_pinmux_init();
|
||||||
@ -174,12 +174,6 @@ const struct rmobile_sysinfo sysinfo = {
|
|||||||
CONFIG_RMOBILE_BOARD_STRING
|
CONFIG_RMOBILE_BOARD_STRING
|
||||||
};
|
};
|
||||||
|
|
||||||
void dram_init_banksize(void)
|
|
||||||
{
|
|
||||||
gd->bd->bi_dram[0].start = LAGER_SDRAM_BASE;
|
|
||||||
gd->bd->bi_dram[0].size = LAGER_SDRAM_SIZE;
|
|
||||||
}
|
|
||||||
|
|
||||||
void reset_cpu(ulong addr)
|
void reset_cpu(ulong addr)
|
||||||
{
|
{
|
||||||
u8 val;
|
u8 val;
|
||||||
|
Loading…
Reference in New Issue
Block a user