diff options
| author | Sam Protsenko <[email protected]> | 2025-11-18 17:21:14 -0600 |
|---|---|---|
| committer | Minkyu Kang <[email protected]> | 2025-11-26 17:55:57 +0900 |
| commit | f737f0675f0b3b942c3f302eebcfd716d87139c5 (patch) | |
| tree | 98876e1ad3a398315a318398edbddc8220507323 | |
| parent | 4937a9778cfb22cad3f411522c62a14d5242e55e (diff) | |
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 <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
| -rw-r--r-- | board/samsung/e850-96/e850-96.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/board/samsung/e850-96/e850-96.c b/board/samsung/e850-96/e850-96.c index 3df241edde2..34e01914032 100644 --- a/board/samsung/e850-96/e850-96.c +++ b/board/samsung/e850-96/e850-96.c @@ -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(); |
