mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
board: samsung: e850-96: Keep public functions together
Move DRAM init functions close to other public functions, to make things visually distinct and improve the readability. No functional change. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
committed by
Minkyu Kang
parent
4937a9778c
commit
f737f0675f
@@ -77,16 +77,6 @@ static struct acpm acpm = {
|
||||
.ipc_ch = EXYNOS850_IPC_AP_I3C,
|
||||
};
|
||||
|
||||
int dram_init(void)
|
||||
{
|
||||
return fdtdec_setup_mem_size_base();
|
||||
}
|
||||
|
||||
int dram_init_banksize(void)
|
||||
{
|
||||
return fdtdec_setup_memory_banksize();
|
||||
}
|
||||
|
||||
/* Read the unique SoC ID from OTP registers */
|
||||
static u64 get_chip_id(void)
|
||||
{
|
||||
@@ -166,6 +156,16 @@ void load_firmware(void)
|
||||
printf("ERROR: LDFW loading failed (%d)\n", err);
|
||||
}
|
||||
|
||||
int dram_init(void)
|
||||
{
|
||||
return fdtdec_setup_mem_size_base();
|
||||
}
|
||||
|
||||
int dram_init_banksize(void)
|
||||
{
|
||||
return fdtdec_setup_memory_banksize();
|
||||
}
|
||||
|
||||
int board_late_init(void)
|
||||
{
|
||||
setup_serial();
|
||||
|
||||
Reference in New Issue
Block a user