net: make initr_net() invocation command line agnostic
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 14 Apr 2025 13:55:06 +0000 (15:55 +0200)
committerJerome Forissier <jerome.forissier@linaro.org>
Wed, 23 Apr 2025 08:02:49 +0000 (10:02 +0200)
commitfd7607be6268157b3a35f5d5e2b04938ce9f8701
tree827d14afa0f42fd927ffd320753e595dcdf52b99
parentf79db892fc9c53b909e3fd7c430a1fec3a885cfe
net: make initr_net() invocation command line agnostic

initr_net() initalizes the network devices by calling eth_initalize().
There is no good reason to disable this if no command line interface is
present.

Let initr_net() depend on CONFIG_NET || CONFIG_NET_LWIP.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
common/board_r.c