]> git.dujemihanovic.xyz Git - u-boot.git/commit
toradex: common: Remove #ifdef usage for 2nd ethaddr
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Thu, 21 Jul 2022 13:17:36 +0000 (15:17 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 25 Jul 2022 14:12:00 +0000 (16:12 +0200)
commit9762fbeea451f4d81ec88788e7680e37a1ee5beb
treeb576f5ab1fb4bcce5d5ab22bc2cdf9d9e3fadc9a
parent0d4b692c807881253ec6954970ccbb0f717ae10a
toradex: common: Remove #ifdef usage for 2nd ethaddr

Fix checkpatch warn, use `IS_ENABLED(CONFIG_TDX_CFG_BLOCK_2ND_ETHADDR)`
instead of `#ifdef CONFIG_TDX_CFG_BLOCK_2ND_ETHADDR`.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
board/toradex/common/tdx-common.c