2 * Copyright (C) 2012-2014 Panasonic Corporation
3 * Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
5 * SPDX-License-Identifier: GPL-2.0+
13 * Description: Early hardware init.
17 led_write(U, B, O, O);
22 #if CONFIG_NR_DRAM_BANKS >= 2
23 void dram_init_banksize(void)
25 DECLARE_GLOBAL_DATA_PTR;
27 gd->bd->bi_dram[0].start = CONFIG_SDRAM0_BASE;
28 gd->bd->bi_dram[0].size = CONFIG_SDRAM0_SIZE;
29 gd->bd->bi_dram[1].start = CONFIG_SDRAM1_BASE;
30 gd->bd->bi_dram[1].size = CONFIG_SDRAM1_SIZE;