Commit c32a6fd0 authored by Simon Glass's avatar Simon Glass Committed by Joe Hershberger
Browse files

net: Don't call board/cpu_eth_init() with driver model

We should avoid weak functions with driver model. Existing boards that use
driver model don't need them, so let's kill them off.
Signed-off-by: Simon Glass's avatarSimon Glass <>
Reviewed-by: Bin Meng's avatarBin Meng <>
Acked-by: Joe Hershberger's avatarJoe Hershberger <>
parent dfa71e9f
......@@ -96,6 +96,7 @@ static void eth_common_init(void)
* If board-specific initialization exists, call it.
* If not, call a CPU-specific one
......@@ -107,10 +108,9 @@ static void eth_common_init(void)
if (cpu_eth_init(gd->bd) < 0)
printf("CPU Net Initialization Failed\n");
} else {
printf("Net Initialization Skipped\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment