]> git.baikalelectronics.ru Git - uboot.git/commit
venice: Simplify conditions for network init
authorSimon Glass <sjg@chromium.org>
Wed, 22 Feb 2023 16:34:24 +0000 (09:34 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 3 Mar 2023 14:49:02 +0000 (09:49 -0500)
commitc1118eb6e7cf4299600f87409832f4140720c5c1
tree81bc8c3e9d382393a696dfa62a11c8d82ec1b78c
parent1ee9e23cbd1edd545e549d9915ce6be034a66041
venice: Simplify conditions for network init

The conditions in this code do not align when doing an SPL build with
split config. Use __maybe_unused to avoid needing to be so explicit.

Of course a better solution would be to refactor all of this to avoid
using #ifdef.

Signed-off-by: Simon Glass <sjg@chromium.org>
board/gateworks/venice/venice.c