aboutsummaryrefslogtreecommitdiff
path: root/board/samsung/universal_c210
diff options
context:
space:
mode:
authorTom Rini2023-09-21 19:32:48 -0400
committerTom Rini2023-10-09 15:24:31 -0400
commit4f9c7a9f547785dc6028e3d737ab7c53e7851b17 (patch)
tree9832caab67705f63f41e1520bdad76ddf528d399 /board/samsung/universal_c210
parentdb7516b635692d2d4ab9ce0fefa13a637fb4698e (diff)
exynos: Cleanup exynos_init
- None of the callers perform error checking and based on the non-empty versions of this function, there's no checking to be done, so make this a void. - Add a default weak version of the function. - Remove the empty versions of exynos_init now that we have a weak version. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/samsung/universal_c210')
-rw-r--r--board/samsung/universal_c210/universal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c
index 37c9d7f452f..2d61dff89c2 100644
--- a/board/samsung/universal_c210/universal.c
+++ b/board/samsung/universal_c210/universal.c
@@ -265,7 +265,7 @@ static int init_pmic_lcd(void)
return 0;
}
-int exynos_init(void)
+void exynos_init(void)
{
gd->bd->bi_arch_number = MACH_TYPE_UNIVERSAL_C210;
@@ -293,6 +293,4 @@ int exynos_init(void)
check_hw_revision();
printf("HW Revision:\t0x%x\n", board_rev);
-
- return 0;
}