From b890acc7432e2ca7b21a44cc70a87aca51b0aedd Mon Sep 17 00:00:00 2001 From: Jerome Brunet Date: Wed, 24 Oct 2018 14:57:54 +0200 Subject: ARM: meson: factorize common code out amlogic's boards Now we have moved all the Amlogic board support to common generic board code, we can move the identical board_init() and ft_board_setup() functions to weak functions into the board-common mach-meson file. Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- board/amlogic/s400/s400.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'board/amlogic/s400') diff --git a/board/amlogic/s400/s400.c b/board/amlogic/s400/s400.c index c2b50f6c179..02a0e9286cb 100644 --- a/board/amlogic/s400/s400.c +++ b/board/amlogic/s400/s400.c @@ -13,21 +13,9 @@ #include #include -int board_init(void) -{ - return 0; -} - int misc_init_r(void) { meson_eth_init(PHY_INTERFACE_MODE_RGMII, 0); return 0; } - -int ft_board_setup(void *blob, bd_t *bd) -{ - meson_init_reserved_memory(blob); - - return 0; -} -- cgit v1.2.3