]> git.baikalelectronics.ru Git - uboot.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)
commit7f197003aba44fd59498459ef05ef2dd8d17fbff
treeb576f5ab1fb4bcce5d5ab22bc2cdf9d9e3fadc9a
parentbfbdae41f65861e630aa733b71dc03a1977ddd71
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