board: sophgo: move ethernet driver to common directory

This will make easier for future boards to reuse the same driver (e.g.
Milk-V Duo 256MB).

Signed-off-by: Hiago De Franco <hfranco@baylibre.com>
Acked-by: Leo Yu-Chi Liang <leo.liang@sifive.com>
This commit is contained in:
Hiago De Franco
2026-08-05 10:16:08 -07:00
committed by Leo Yu-Chi Liang
parent d803fb548e
commit bacb61a06f
5 changed files with 3 additions and 2 deletions
+1
View File
@@ -2,5 +2,6 @@ Milk-V Duo
M: Kongyang Liu <seashell11234455@gmail.com>
S: Maintained
F: board/sophgo/milkv_duo/
F: board/sophgo/common/
F: configs/milkv_duo_defconfig
F: doc/board/sophgo/milkv_duo.rst
+1 -1
View File
@@ -3,4 +3,4 @@
# Copyright (c) 2024, Kongyang Liu <seashell11234455@gmail.com>
obj-y += board.o
obj-$(CONFIG_NET_LEGACY) += ethernet.o
obj-$(CONFIG_NET_LEGACY) += ../common/ethernet.o
+1 -1
View File
@@ -5,7 +5,7 @@
#include <dm/lists.h>
#include "ethernet.h"
#include "../common/ethernet.h"
int board_init(void)
{