1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2021, STMicroelectronics - All Rights Reserved
4 * Author(s): Dillon Min <dillon.minfei@gmail.com>
11 #include <asm/global_data.h>
13 DECLARE_GLOBAL_DATA_PTR;
20 ret = uclass_get_device(UCLASS_RAM, 0, &dev);
22 debug("DRAM init failed: %d\n", ret);
26 if (fdtdec_setup_mem_size_base() != 0)
32 int dram_init_banksize(void)
34 fdtdec_setup_memory_banksize();
39 int board_early_init_f(void)
44 u32 get_board_rev(void)
49 int board_late_init(void)
56 gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;