diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2018-10-24 14:57:54 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2018-11-26 14:40:52 +0100 |
commit | b890acc7432e2ca7b21a44cc70a87aca51b0aedd (patch) | |
tree | 0a969e5693ba04f06a777f10fddde56a0b36e0b3 /board/amlogic/odroid-c2 | |
parent | b72794e37e056f3ec18a6cadfe0376058a5c2f34 (diff) |
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 <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'board/amlogic/odroid-c2')
-rw-r--r-- | board/amlogic/odroid-c2/odroid-c2.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/board/amlogic/odroid-c2/odroid-c2.c b/board/amlogic/odroid-c2/odroid-c2.c index d784d6bd09..62f0f4c871 100644 --- a/board/amlogic/odroid-c2/odroid-c2.c +++ b/board/amlogic/odroid-c2/odroid-c2.c @@ -17,11 +17,6 @@ #define EFUSE_MAC_OFFSET 52 #define EFUSE_MAC_SIZE 6 -int board_init(void) -{ - return 0; -} - int misc_init_r(void) { u8 mac_addr[EFUSE_MAC_SIZE]; @@ -46,10 +41,3 @@ int misc_init_r(void) return 0; } - -int ft_board_setup(void *blob, bd_t *bd) -{ - meson_init_reserved_memory(blob); - - return 0; -} |